Page version number increases even if no changes were made prior to saving #1416

Closed
opened 2026-02-05 00:50:15 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @Wookbert on GitHub (Oct 23, 2019).

Describe the bug
If you open a page, go into edit mode and save the page without actually making any change, BookStack creates a new version which is of course absolutely identical to the existing/prior version.

Expected behavior
When clicking onto „Save page“, BookStack should leave edit mode and a dialogue should show up reading "No changes were made, thus no new version created.“

Originally created by @Wookbert on GitHub (Oct 23, 2019). **Describe the bug** If you open a page, go into edit mode and save the page without actually making any change, BookStack creates a new version which is of course absolutely identical to the existing/prior version. **Expected behavior** When clicking onto „Save page“, BookStack should leave edit mode and a dialogue should show up reading "No changes were made, thus no new version created.“
OVERLORD added the 🐛 Bug label 2026-02-05 00:50:15 +03:00
Author
Owner

@mflagler commented on GitHub (Feb 21, 2020):

Why not just hit the back button instead of the save button? If you have made changes, it will prompt you before actually going back.

@mflagler commented on GitHub (Feb 21, 2020): Why not just hit the back button instead of the save button? If you have made changes, it will prompt you before actually going back.
Author
Owner

@ssddanbrown commented on GitHub (Feb 12, 2021):

Thanks for reporting @Wookbert, Did not see that #1846 was a duplicate of this.
There were some checks in place to prevent unrequired revisions but they were not working as intended. This has now been patched in 5323cb5224, to be part of the next feature release.

@ssddanbrown commented on GitHub (Feb 12, 2021): Thanks for reporting @Wookbert, Did not see that #1846 was a duplicate of this. There were some checks in place to prevent unrequired revisions but they were not working as intended. This has now been patched in 5323cb52245c4ec7f8735173e3057e321ff6327f, to be part of the next feature release.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1416