Error message when accessing deleted or not existing files #2208

Closed
opened 2026-02-05 03:19:19 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Bolthier on GitHub (Apr 21, 2021).

Describe the feature you'd like
When deleting a file the url sometimes still exists in other places e.g. pages or external websites/chats. When trying to access these deleted files the error message only tells me an error occurred. I'ld suggest putting in an error message like the one for pages:

"File not found
Sorry, The file you were looking for could not be found.

If you expected this file to exist, it might have been deleted."

Example Link: https://demo.bookstackapp.com/uploads/images/gallery/2021-04/image-1619003945781.jpg

Before
image
After
image

Describe the benefits this feature would bring to BookStack users
Better explanation to the user for the kind of error that occured.

Originally created by @Bolthier on GitHub (Apr 21, 2021). **Describe the feature you'd like** When deleting a file the url sometimes still exists in other places e.g. pages or external websites/chats. When trying to access these deleted files the error message only tells me an error occurred. I'ld suggest putting in an error message like the one for pages: "File not found Sorry, The file you were looking for could not be found. If you expected this file to exist, it might have been deleted." Example Link: https://demo.bookstackapp.com/uploads/images/gallery/2021-04/image-1619003945781.jpg Before ![image](https://user-images.githubusercontent.com/42382626/115546524-6e5fae80-a2a5-11eb-8a0c-f0589c32c4ea.png) After ![image](https://user-images.githubusercontent.com/42382626/115548396-b7b0fd80-a2a7-11eb-87ec-31d286cd8de1.png) **Describe the benefits this feature would bring to BookStack users** Better explanation to the user for the kind of error that occured.
OVERLORD added the 🛠️ Enhancement🏭 Back-End labels 2026-02-05 03:19:19 +03:00
Author
Owner

@ssddanbrown commented on GitHub (May 8, 2021):

Thanks for the suggestion @Bolthier, I would completely agree that the current state was not providing much guidance. Was actually hitting a strange error scenario. Have been tidying up the error handling and have implemented the suggested handling. Will be part of v21.04.4.

@ssddanbrown commented on GitHub (May 8, 2021): Thanks for the suggestion @Bolthier, I would completely agree that the current state was not providing much guidance. Was actually hitting a strange error scenario. Have been tidying up the error handling and have implemented the suggested handling. Will be part of v21.04.4.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2208