Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
16.10.8, 17.4.0
-
None
-
Unknown
-
Description
Same steps as XWIKI-23262. After saving the new syntax, make some changes to the document content and save. You get a merge conflict. The root problem is that the syntax change incremented the document version, but this has not been propagated / announced by triggering the xwiki:document:changeVersion event, so the WYSIWYG editor on the same page is submitting the content with the previous document version, causing a merge conflict.
This can be fixed by modifying editableProperty.js to trigger the xwiki:document:changeVersion event, but we can't call meta's setVersion unless the edited property is from the current document, which might not be always the case (it's possible to edit on page X a property from page Y).
Attachments
Issue Links
- is related to
-
XWIKI-23262 The WYSIWYG editor is disconnected from the realtime session after changing the syntax of the edited content
-
- Open
-