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

Saving Impossible And No Error/Warning Message Whatsoever in Case Of Edit Conflict

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      I'm using the latest LTS release.

      Today we had the problem that a user could not save an article at all, but got no feedback whatsoever from Xwiki - the page just stayed in edit mode.

      It turned out this was a concurrent edit:

      1. First of all, it's too easy to enter a concurrent edit situation. If you edit an article with one account, wait a while (not even too long, I think I waited about 1 hour during my test, maybe even shorter) and then try to edit it with a second session, you can do so without any warning.
      2. Second, if the first user then wants to save, it won't work if there are merge conflicts, and there is no feedback in any way that something went wrong. Very bad usability.

      See the attached screen recording for a demonstration. You're seeing the older session which was "overtaken" by a concurrent edit session (in which the concurrently editing using was never warned that there already was another session in progress in the first place) and then tries to save.

      You can see the page silently stays in edit mode, can't be saved, editing can't be cancelled using the button, and after a browser-triggered reload (F5), the new content appears and all edits are lost.

      Attachments

        1. Xwiki_12.10.5_Bug_in_case_of_edit_conflict.gif
          Xwiki_12.10.5_Bug_in_case_of_edit_conflict.gif
          245 kB
        2. screenshot-6.png
          screenshot-6.png
          82 kB
        3. screenshot-5.png
          screenshot-5.png
          28 kB
        4. screenshot-4.png
          screenshot-4.png
          75 kB
        5. screenshot-3.png
          screenshot-3.png
          33 kB
        6. screenshot-2.png
          screenshot-2.png
          27 kB
        7. screenshot-1.png
          screenshot-1.png
          90 kB
        8. response-payload.png
          response-payload.png
          18 kB
        9. locale-info.png
          locale-info.png
          6 kB
        10. image-2021-03-22-16-38-50-212.png
          image-2021-03-22-16-38-50-212.png
          27 kB
        11. image-2021-03-19-14-47-49-793.png
          image-2021-03-19-14-47-49-793.png
          19 kB
        12. image-2021-03-19-11-51-42-807.png
          image-2021-03-19-11-51-42-807.png
          46 kB
        13. 20210331 Edit Conflict Edit Separately.gif
          20210331 Edit Conflict Edit Separately.gif
          2.89 MB

        Issue Links

          Activity

            People

              surli Simon Urli
              GOhrner Gunter Ohrner
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: