owncloud / web

:dragon_face: Next generation frontend for ownCloud Infinite Scale
https://owncloud.dev/clients/web/
GNU Affero General Public License v3.0
418 stars 157 forks source link

Going back in browser history may break trash bin #11100

Closed JammingBen closed 3 days ago

JammingBen commented 1 week ago

Describe the bug

When navigating from the trash bin into another folder via the parent folder link beneath a resource and then using the browser back button while having the sidebar open, Web completely breaks.

Steps to reproduce

  1. Create a folder in your personal space
  2. Create a file inside that folder
  3. Delete the file
  4. Go to the trash bin where this file is located
  5. Open the right sidebar
  6. Open the folder via the parent folder link beneath the resource
  7. Use the browser back button to go back to the trash bin

Expected behavior

The user lands in the trash bin again.

Actual behavior

Web breaks and becomes completely unusable. Console prints r.canBeRestored is not a function.