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

The autosave doesn't behave nicely when a merge conflict occurs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 16.0.0, 15.10.6
    • 13.10-rc-1
    • Realtime
    • None
    • Integration
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    Description

      This is similar to XWIKI-19180 but instead of clicking on the Save button Bob and Carol (from the real-time session) wait for the auto-save to happen. So the problem is when the auto-save fails because there's a merge conflict due to changes outside of the real-time session. There are multiple problems:

      • Bob and Carol get a modal (non-bootstrap) explaining the save error but there's no much they can do. Instead they should be the standard Merge Conflict modal that we see in XWIKI-19180 when clicking on the save button.
      • If Bob and Carol wait a bit the modal becomes blank. In the JavaScript console I can see the JavaScript code is retrying to save and fails again and again.

      Attachments

        Issue Links

          Activity

            People

              douakli Dorian Ouakli
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: