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

Changes are lost if an exception is thrown during saving

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1, 1.8 M1
    • Component/s: WYSIWYG Editor
    • Labels:
      None
    • Environment:
      any
    • keywords:
      exception save lost changes
    • Tests:
      Integration
    • Similar issues:

      Description

      If an exception is thrown during the conversion from the HTML output of the WYSIWYG editor to the storing syntax then the user looses his changes to the edited page. By going back from the page displaying the exception message the user gets the initial content of the edited page in the WYSIWYG editor. Worse, If the exception is caught then currently the HTML content is saved instead of the storing syntax equivalent.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mflorea Marius Dumitru Florea
                Reporter:
                mflorea Marius Dumitru Florea
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: