Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
11.1
-
None
-
Unknown
-
Description
When an action modifies a document, it changes its revision. We should return this revision directly instead of letting the client ask the revision to the server: by doing it, we avoid potential inconsistencies in the revision obtained in the client.
Here's the list of actions which should return a revision in case of success in AJAX request:
- SaveAction / SaveAndContinueAction
- UploadAction / DeleteAttachmentAction
- CommentAddAction / CommentSaveAction
- ObjectAddAction / ObjectRemoveAction
- RollbackAction
- PropAddAction / PropDeleteAction / PropUpdateAction
Attachments
Issue Links
- blocks
-
XWIKI-16212 Triggers an event when an attachment is added to a document
- Open