Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
1.25
-
None
-
None
-
Unknown
-
Description
This issue might reproduce only for a specific way of copy-pasting the macro call.
This issue was reproduced on Chrome, on an XWiki 9.11.3 (with CKEditor 1.25).
Create a document with the following content:
== Titre 1 == == Titre 2 == {{display reference="A.B.C.WebHome"/}} {{display reference="Sandbox.WebHome"/}}
Note that the document A.B.C.WebHome does not exist.
Then in the CKEditor, cut and paste the "Titre 2" and the first display macro from where they are to above "Titre 1" like in the following screenshots (the selection of the Titre 2 + macro is done by starting dragging with the mouse at the beginning of the "Titre 2" and continuing under until the display macro is shown as selected):
Actual result:
When hitting save an continue an exception is displayed in the console and the page reloads (in edit mode).
In addition, all the chnages done in the document after the cut and paste of the macro are lost from the document (but this is probably another issue, related to the save and continue action - the problem of unsaved content was reported as XWIKI-15696 ).
Attachments
Issue Links
- relates to
-
CKEDITOR-229 Changes in the document are lost upon save if the content serialization fails
- Closed