Steps to reproduce:
- Upload a file to a worksheet using the Data... menu
- Click on the filename in the Data... menu
- Click the link to delete the file.
My guess is that it deletes the file, but then tries to display it. Instead, it should either go back to the worksheet view or to some list of all files in the DATA directory.
CC: @williamstein
Component: notebook
Issue created by migration from https://trac.sagemath.org/ticket/5835