Skip to content

Impossible to 'Undo' after resource removal/deletion  #4641

@radinamatic

Description

@radinamatic

Observed behavior

Pressing the Undo button in the snackbar after removing or deleting the resource(s) is not working, with the following errors in the console:

[Vue warn]: Error in v-on handler: "TypeError: changeTracker.revert is not a function"

Uncaught (in promise) TypeError: changeTracker.cleanUp is not a function

Expected behavior

After pressing the Undo button in the snackbar, the resource(s) should be restored to the original location.

User-facing consequences

User is forced to go to Trash to restore the resource(s) they removed unintentionally (if they are aware of the possibility).

Errors and logs

remove-fail

Steps to reproduce the issue

  1. Use the Delete button in the topbar, or the Remove option in the new sidebar.
  2. After the resource(s) are deleted press the Undo button in the snackbar.
  3. Observe that nothing is happening.

Usage Details

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions