When Comment has higher ID number than it's parent then Review Activity plugin fails to initialise

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 3.9.0
    • Component/s: None
    • Severity 2 - Major
    • 0

       

      Current behaviour

      1. Have one comment thread

                 

               Where reply 2 comment has higher internal database ID than the parent comment (test 1

                

              (This seems like inconsistent state which should not happen, we couldn't determine the root cause of such)

      2. Go to that Review.

      3. Javascript execution is broken due to error thrown from Crucible Review Activity Plugin 

      The DataBridge code assumes that comments will always be ordered with an order where parent comment is always first before reply comments. This isn't true.

       

      Expected Behaviour

      Crucible handles the different comments ordering and renders review page correctly.

      Workaround

      The bug is happening in _crucible-review-activity-plugin _so in order to perform the review which has problems because of it, it's OK to temporarily disable the plugin.

       

      In order to disable plugin:

      1. Go to Administration -> Manage Add-ons
      2. Change Add-on filter to All add-ons
      3. Find _crucible-review-activity-plugin _and disable it

       

       

              Assignee:
              Unassigned
              Reporter:
              Grzegorz Lewandowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: