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

api/issues/create must ensure line is valid

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.4
    • Fix Version/s: None
    • Component/s: Web API
    • Labels:
      None

      Description

      This WS allows to create manual issues on any line even if the line does not exists (for example on line 70 while file has only 30 lines).
      This leads to ArrayIndexOutOfBoundException on batch side during relocation of manual issues.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              henryju OLD - Julien HENRY
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: