-
Type: Task
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 9.1
-
Component/s: User Guide
-
Tags:
-
Sprint:nxProduct-W14, nxProduct-W16
Functional overview
New versioning behavior is:
- It is now possible to contribute automatic versioning rules through extension points
- We provide two automatic versioning rules in the Platform, detailed below
Our default automatic versioning rules are the following:
For doctypes with schema file (typically file and pictures), if the current contributor is not the last contributor of the document, a new minor version is created when they save the document. This version is the state of the document before the user did their modification, so that no data is lost. And the changes of the current user are on the live document (x.x+ version). When the current user is the last contributor of the document, no version is saved. There is no difference of behavior depending on the type of modification (main file, metadata, attachments).
This rule always apply in Web UI. In JSF UI, it applies in case of D&D edit, attachment edits. If the user is using the Edit form, since there is a manual version incrementation, the automatic versioning is done first and then the manual version. So if user edit the document and selects increment minor version, two minor versions are created. If they select major version increment, a minot version is created and then a major version.
For notes, a new version is created for every modification, whether the user is the last contributor or not. The created version holds the changed saved by the user. This rule always apply in Web UI. In JSF UI, it applies in case of D&D edit, attachment edits. If the user is using the Edit form, only the manual versioning rules applied.
Note:
- Nuxeo Drive automatic versioning rules haven’t changed
- This automatic versioning is not yet applied to CMIS
Pages to check
Pages to update or check:
- JSF UI: https://doc.nuxeo.com/userdoc/editing-content/
- https://doc.nuxeo.com/userdoc/tags/
- https://doc.nuxeo.com/userdoc/traceability/ (check if default version didn't change)
- https://doc.nuxeo.com/userdoc/browse/
Also check the possible functional overview on pages:
- is related to
-
NXDOC-1137 Write versioning system documentation
- Resolved