Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unstable - Undo copy button is not working #4766

Closed
akolson opened this issue Sep 27, 2024 · 2 comments · Fixed by #4774
Closed

Unstable - Undo copy button is not working #4766

akolson opened this issue Sep 27, 2024 · 2 comments · Fixed by #4774
Assignees
Labels
bug P0 - critical Priority: Release blocker or regression TAG: regression

Comments

@akolson
Copy link
Member

akolson commented Sep 27, 2024

Observed behavior

When you copy a resource and try to undo the operation using the snackbar undo button on completion, the button is not responsive and throws an error in the console.

Screen.Recording.2024-09-27.at.17.45.07.mov

Expected behavior

The undo button should revert the copy.

User-facing consequences

A user is unable to undo a copy operation

Errors and logs

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

found in

---> <VBtn>
       <VSnackbar>
         <GlobalSnackbar> at shared/views/GlobalSnackbar.vue
           <VApp>
             <Root>
warn @ vue.runtime.esm.js:619
logError @ vue.runtime.esm.js:1893
globalHandleError @ vue.runtime.esm.js:1888
handleError @ vue.runtime.esm.js:1848
invokeWithErrorHandling @ vue.runtime.esm.js:1871
invoker @ vue.runtime.esm.js:2188
invokeWithErrorHandling @ vue.runtime.esm.js:1863
Vue.$emit @ vue.runtime.esm.js:3903
(anonymous) @ backend.js:5526
click @ VBtn.js:75
invokeWithErrorHandling @ vue.runtime.esm.js:1863
invoker @ vue.runtime.esm.js:2188
original._wrapper @ vue.runtime.esm.js:6961
Show 12 more frames
Show lessUnderstand this error
backend.js:5526 TypeError: changeTracker.revert is not a function
    at Object.actionCallback (ContentNodeOptions.vue:374:1)
    at VueComponent.hideCallback (GlobalSnackbar.vue:48:1)
    at invokeWithErrorHandling (vue.runtime.esm.js:1863:1)
    at VueComponent.invoker (vue.runtime.esm.js:2188:1)
    at invokeWithErrorHandling (vue.runtime.esm.js:1863:1)
    at Vue.$emit (vue.runtime.esm.js:3903:1)
    at VueComponent.$emit (backend.js:5526:28)
    at VueComponent.click (VBtn.js:75:1)
    at invokeWithErrorHandling (vue.runtime.esm.js:1863:1)
    at HTMLButtonElement.invoker (vue.runtime.esm.js:2188:1)
logError @ vue.runtime.esm.js:1897
globalHandleError @ vue.runtime.esm.js:1888
handleError @ vue.runtime.esm.js:1848
invokeWithErrorHandling @ vue.runtime.esm.js:1871
invoker @ vue.runtime.esm.js:2188
invokeWithErrorHandling @ vue.runtime.esm.js:1863
Vue.$emit @ vue.runtime.esm.js:3903
(anonymous) @ backend.js:5526
click @ VBtn.js:75
invokeWithErrorHandling @ vue.runtime.esm.js:1863
invoker @ vue.runtime.esm.js:2188
original._wrapper @ vue.runtime.esm.js:6961
Show 11 more frames
Show lessUnderstand this error
ContentNodeOptions.vue:375 Uncaught (in promise) TypeError: changeTracker.cleanUp is not a function
    at ContentNodeOptions.vue:375:1
(anonymous) @ ContentNodeOptions.vue:375Understand this error
plugin.js:37 Analytics.reset()

Additional information

Steps to reproduce the issue

  1. Copy a resource
  2. Wait for it to complete copying.
  3. A snackbar with an undo will be presented.
  4. Click on the undo button and observe the behaviour

Usage Details

  • OS: Mac Os
  • Browser: Chrome
  • URL: -
  • Other information that may be relevant: -
@akolson akolson added bug P0 - critical Priority: Release blocker or regression TAG: regression labels Sep 27, 2024
@akolson akolson added this to the Studio: Bulk Editing Release milestone Sep 27, 2024
@akolson akolson self-assigned this Sep 27, 2024
@pcenov
Copy link
Member

pcenov commented Sep 30, 2024

Hi @akolson, I'm not able to replicate this issue in the current version of Studio so it might have been fixed already:

undo.copy.mp4

@akolson
Copy link
Member Author

akolson commented Sep 30, 2024

Hi @pcenov! Unfortunately I seem to replicate it consistently. I tried to clear out my cache but it just doesn't seem to work even on unstable. I'm picking up the same errors too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug P0 - critical Priority: Release blocker or regression TAG: regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants