Deleted books/chapters/pages can cause failure of notification preferences view #4106

Closed
opened 2026-02-05 08:08:31 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @byPavel on GitHub (Sep 2, 2023).

Describe the Bug

Created a book of articles enabled subscription to notifications. Deleted the book.

Steps to Reproduce

1.Created a book
2.Create a page
3. Enabled subscription to notifications.
4. 4 Deleted the book
6. I go to the settings and get an error

Expected Behaviour

When deleting a book, automatic deletion of notifications

Screenshots or Additional Context

image

Browser Details

No response

Exact BookStack Version

BookStack v23.08

PHP Version

No response

Hosting Environment

Docker

Originally created by @byPavel on GitHub (Sep 2, 2023). ### Describe the Bug Created a book of articles enabled subscription to notifications. Deleted the book. ### Steps to Reproduce 1.Created a book 2.Create a page 3. Enabled subscription to notifications. 4. 4 Deleted the book 6. I go to the settings and get an error ### Expected Behaviour When deleting a book, automatic deletion of notifications ### Screenshots or Additional Context ![image](https://github.com/BookStackApp/BookStack/assets/69891182/baca2958-89c6-4bcd-afcf-b4b2144e5aa4) ### Browser Details _No response_ ### Exact BookStack Version BookStack v23.08 ### PHP Version _No response_ ### Hosting Environment Docker
OVERLORD added the 🐛 Bug label 2026-02-05 08:08:31 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4106