Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-10872

Filter deleted comments when trying to update PR decoration

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.1
    • Fix Version/s: 7.3
    • Component/s: Branch & PR
    • Labels:
    • Edition:
      Developer
    • Production Notes:
      None

      Description

      It is possible to delete only a comment and not the entire comment thread. As a result we get this error:

              at java.util.Objects.requireNonNull(Objects.java:228)
              at com.sonarsource.branch.pr.R.C(Unknown Source)
              at com.sonarsource.branch.pr.A.A.B.A(Unknown Source)
              at com.sonarsource.branch.pr.A.A.B.A(Unknown Source)
              at com.sonarsource.branch.pr.A.A.B.B(Unknown Source)
              at com.sonarsource.branch.pr.A.C.A(Unknown Source)
              at com.sonarsource.branch.pr.G.A(Unknown Source)
      

      We should exclude deleted comments (currently we only exclude deleted comment threads) when reading comments back.

        Attachments

          Activity

            People

            • Assignee:
              julien.henry Julien Henry
              Reporter:
              julien.henry Julien Henry
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: