Changes by Marius Dumitru Florea on 21/Oct/25 10:14
Resolution:
Fixed
Tests:
Integration
Status:
OpenClosed
1 comment
Marius Dumitru Florea on 21/Oct/25 10:14
I introduced a new request parameter, named preventEmptyRevision, that can be passed to the SaveAction to avoid creating document revisions when there are no actual changes (author change being ignored). Note that preventEmptyRevision is ignored:
if the document is new (in order to be able to create an empty document)
if there is a submitted version summary comment (to allow the user to create a "milestone" version by summarizing the changes since the last milestone)
if the document was modified, obviously
Currently, only the realtime collaboration feature is sending this new request parameter in order to avoid creating useless revisions when users are leaving the edit mode. Existing code shouldn't be impacted by the changes brought by this issue (e.g. the Wiki editor or the non-realtime WYSIWYG editor are still creating empty revisions if you save without changes).
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.