Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-7912

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 3.9.0
    • None

    Description

       

      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

       

       

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: