New revision is created but no changes were made #6062
Labels
No labels
Focus: A11y
Focus: Admin/Meta
Focus: Authentication
Focus: Back-End
Focus: Database
Focus: Design & UX
Focus: Editor - Markdown
Focus: Editor - WYSIWYG
Focus: Export System
Focus: Front-End
Focus: Translations
Focus: View Customization
Is: Docs Update
Is: Enhancement
Is: Priority
Is: Security
Is: Upstream
Status
Blocked
Status
Open to discussion
Status
Out of scope
Status
Pending Validation
Type
API Request
Type
Bug Report
Type
Feature Request
Type
Happy feedback
Type
Maintenance
Type
Question
Type
Support
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
bookstack/bookstack#6062
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the Bug
When you open a page with images in edit mode and save without making any change, BookStack creates a new version/revision, even tho the page is the same as before.
I guess it's linked to WYSIWYG or page complexity.
Steps to Reproduce
Expected Behaviour
No new version/revision should be created since the page did not change.
Screenshots or Additional Context
It's not always the case, but in long pages I'm able to reproduce it consistently.
Browser Details
Firefox 148.0.2 (64 bits), windows 11 Build 26200.8037
Exact BookStack Version
v26.03.1
Confirmed, been seeing this since I started using Bookstack a few years back.
@ssddanbrown I fixed it, and tested it locally, hope it's ok for you.
I created a PR for you, I can't assign people on it so I'm pinging you :)