whole-tale / dashboard

Whole Tale Dashboard
http://wholetale.org
MIT License
7 stars 2 forks source link

Uploading Files Into Deleted Folders Fails #485

Open ThomasThelen opened 5 years ago

ThomasThelen commented 5 years ago

This is a local storage/currentFolderID problem. I think that when the folder is deleted in the incognito window, the currentFolderID is unchanged in the normal browser window. When you go to upload a file, we send that folder ID to the backend.

This was reported in pull 484

From Kacper,

In regression test item 5. if you try to upload a file instead of reloading /manage it silently fails, throwing some exception in the console.

  1. Open a non-incognito browser tab, log into the UI and navigate to the /manage view
  2. Create a folder (e.g. test123) and click down into it
  3. Open an incognito browser tab, login to the UI again, and navigate to the /manage view
  4. In the incognito tab, delete the test123 folder and close the incognito tab
  5. Refresh your non-incognito browser tab
  6. You should not be stuck on a blue screen
  7. You should not need to manually refresh the page
  8. You should be taken to the /manage view of your Home folder. NOTE: Your last refresh may 9. take a couple of seconds longer than usual