This issue has been created
 
 
Book Versions / cid:jira-generated-image-avatar-4d95531c-074e-4d1d-a01a-eb47fd368c72 BVERSION-211 Open

Infinite loop when marking a page as deleted

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-d0a62d53-da1d-4bb5-95eb-cea45f4ab7d9 Raluca Stavro created this issue on 15/Apr/25 15:38
 
Summary: Infinite loop when marking a page as deleted
Issue Type: cid:jira-generated-image-avatar-4d95531c-074e-4d1d-a01a-eb47fd368c72 Bug
Affects Versions: 1.12
Assignee: Unassigned
Components: Base feature
Created: 15/Apr/25 15:38
Priority: cid:jira-generated-image-static-critical-b4cc73d5-ef1b-4f88-acea-cb88ab6e0165 Critical
Reporter: Raluca Stavro
Description:

Steps to reproduce :

  1. Go to a book page in view mode
  2. Click on Edit to go in in-place editing mode
  3. Add some content to the page, in the WYSIWYG editor
  4. Click on "Mark as deleted" button
  5. A modal saying "This page is asking you to confirm that you want to leave — information you’ve entered may not be saved" shows up
  6. Click on "Stay on page"
  7. Click on "Save & View"
  8. Click on "Edit"
  9. Click on "Save & View"

The problem is the following : because the user chose to stay on the page at step 6, the active/available editor at step 7 is still in-place, so at step 8 the content of the sheet is loaded in WYSIWYG. This is normal and it's in the responsibility of the application (Book Versions in this case) to make sure that such use cases are not possible.

My approach here is to hide the Book Versions menu in edit mode, as it brings no value there.