Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-3168

Changing the document syntax without saving the document can cause an invalid document state

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.8 M2
    • 1.8 M1
    • {Unused} APIs
    • None

    Description

      This is because api.Document#convertSyntax does not clone the document, thus an unsaved change affects the cached document object.

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            sdumitriu Sergiu Dumitriu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: