Comments on reviews do not always show up after being edited

XMLWordPrintable

    • Severity 3 - Minor

      Issue Summary

      After editing a comment, the comment box may disappear and will only reappear when the browser tab is refreshed.

      Steps to Reproduce

      Watch this video: Recording.mov

      As can be seen:

      1. Go to a Crucible review
      2. Go into a file and add a comment to a single line of code
      3. Edit the comment
      4. Click on another line of code that is lower than the one currently selected to add the comment to that line as well. It doesn't need to be an adjacent line of code, it can be any lower line number.
      5. Click the Comment button and notice that the comment box will disappear.
      6. Refresh the browser window to make the comment show up again.
      7. Edit the comment once again
      8. Unselect the lower line number and select a greater line number.
      9. Click the comment button and notice that the comment box will continue being displayed.
      10. Edit the comment again
      11. Unselect the greater line number and select the lower line number you originally intended, and see that the comment box will remain displayed.

      Expected Results

      The comment box should remain being displayed no matter which line number is selected.

      Actual Results

      The comment box disappears if a lower line number (when compared to the original line number) is selected when the comment is edited.

      Workaround

      Workaround 1:
      Reload the review page.

      Workaround 2:
      When editing the comment, first select a line number that is greater than the one currently selected, save the comment, edit the comment once again, unselect the greater line of code, and then select the lower line of code you originally wanted to select.

        1. Recording.mov
          52.80 MB
          Felipe Kraemer

            Assignee:
            Unassigned
            Reporter:
            Felipe Kraemer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: