Inline comments numbering does not work properly while two users are editing and publishing together

XMLWordPrintable

    • 1
    • Minor

      Issue Summary

      When a comment is published to a page while viewing it, a message with a button to see the published comment will be displayed (refreshing the page).

      If two users are writing an inline comment and user 1 publishes it before user 2 finishes, tapping on this button and canceling it in order to add the comment first will not display the numbering of comments properly.

      Steps to Reproduce

      1. Have a page with a couple of text in order to add inline comments.
      2. With User 1, start writing an inline comment.
      3. Access the same page with User 2 and publish an inline comment.
      4. With User 1, tap the See their comment message, which will prompt the page to be refreshed.
      5. Still with User 1, instead of refreshing, tap the Cancel option from the browser and add the comment.

      Expected Results

      The comment should be displayed and/or be the number "1" instead of "0".

      Actual Results

      There are two results that can happen:

      • The last published inline comment will be "0" instead of "1".
      • The comment gets quickly displayed and disappears.

      To demonstrate both versions of the bug, the following videos were recorded:

      • 0_comments.mov - Displaying when it has "0" instead of "1" in the numbering.
      • no_comment.mov- Displaying it when the comment disappears from the list.

      Workaround

      • Refresh the page in order to see the inline comments with the correct numbering.
      • Close and re-open the inline comment windows.

        1. 0_comments.mov
          22.08 MB
          Giuliano C.
        2. no_comment.mov
          38.73 MB
          Giuliano C.

            Assignee:
            Unassigned
            Reporter:
            Giuliano C.
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: