Observed behavior
I can't perform the 'Undo' operation on a new folder or newly uploaded file in a new channel. After manually restoring the deleted resource from the Trash it can no longer be deleted.
Expected behavior
It should always be possible to perform the 'Undo' operation on a folder or a resource
Steps to reproduce the issue
- Go to https://hotfixes.studio.learningequality.org/en/accounts/#/ and sign in
- Create a brand new channel
- Add a folder or upload a resource
- Remove the resource and click the 'Undo' button
Additional information
Video:
https://user-images.githubusercontent.com/79847249/193264961-763f306e-1c81-47c7-99cd-d36728defc55.mp4
Error Log:
<details>
<summary>Details</summary>
/en/channels/6c86bd17ad134dbcb1264a5ecbdfe128/#/fa0aa322e066488a9afeda559d7db215/topics/cb49238402304f28b48ff2eba3f424a0/details:1 Autofocus processing was blocked because a document already has a focused element.
changes.js:123 Uncaught (in promise) r {_e: Error
at q (https://hotfixes.studio.learningequality.org/static/studio/channel_edit-dac8404c0e1…, name: 'TransactionInactiveError', message: 'Transaction has already completed or failed', inner: null}inner: nullmessage: "Transaction has already completed or failed"name: "TransactionInactiveError"_e: Error
at q (https://hotfixes.studio.learningequality.org/static/studio/channel_edit-dac8404c0e179c7f9bd1.js:8:2987985)
at new r (https://hotfixes.studio.learningequality.org/static/studio/channel_edit-dac8404c0e179c7f9bd1.js:8:2989622)
at Qt._promise (https://hotfixes.studio.learningequality.org/static/studio/channel_edit-dac8404c0e179c7f9bd1.js:8:3022335)
at $n._transaction (https://hotfixes.studio.learningequality.org/static/studio/channel_edit-dac8404c0e179c7f9bd1.js:8:3054730)
at $n.transaction (https://hotfixes.studio.learningequality.org/static/studio/channel_edit-dac8404c0e179c7f9bd1.js:8:3053769)
at TreeResource.transaction (https://hotfixes.studio.learningequality.org/static/studio/channel_edit-dac8404c0e179c7f9bd1.js:8:3097268)
at TreeResource.setData (https://hotfixes.studio.learningequality.org/static/studio/channel_edit-dac8404c0e179c7f9bd1.js:8:3097422)
at https://hotfixes.studio.learningequality.org/static/studio/channel_edit-dac8404c0e179c7f9bd1.js:8:3103922
at https://hotfixes.studio.learningequality.org/static/studio/channel_edit-dac8404c0e179c7f9bd1.js:8:2999723
at Fe (https://hotfixes.studio.learningequality.org/static/studio/channel_edit-dac8404c0e179c7f9bd1.js:8:2994455)
at Ue (https://hotfixes.studio.learningequality.org/static/studio/channel_edit-dac8404c0e179c7f9bd1.js:8:2995211)
at qe (https://hotfixes.studio.learningequality.org/static/studio/channel_edit-dac8404c0e179c7f9bd1.js:8:2995062)stack: (...)[[Prototype]]: W
</details>
Usage Details
Observed behavior
I can't perform the 'Undo' operation on a new folder or newly uploaded file in a new channel. After manually restoring the deleted resource from the Trash it can no longer be deleted.
Expected behavior
It should always be possible to perform the 'Undo' operation on a folder or a resource
Steps to reproduce the issue
Additional information
Video:
https://user-images.githubusercontent.com/79847249/193264961-763f306e-1c81-47c7-99cd-d36728defc55.mp4
Error Log:
Usage Details