Skip to content

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

Closed

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

Activity

  1. sentry commented on Aug 15, 2024

    @sentry

    Sentry Issue: STUDIO-HC2

  2. sentry commented on Aug 15, 2024

    @sentry

    Sentry Issue: STUDIO-HC1

  3. radinamatic commented on Aug 27, 2024

    @radinamatic
    MemberAuthor

    Manual QA on the unstable branch confirms the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions