Uploaded image for project: 'SonarLint For IntelliJ'
  1. SonarLint For IntelliJ
  2. SLI-271

Binding fails if there are more than 10k rules

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5
    • Component/s: Connected Mode
    • Labels:
      None

      Description

      The SonarQube rule search webservice doesn't support querying past the 20th page of 500 rules, effectively creating a error if there are more than 10k rules in the server.

      Error 400 on <<ServerURL>>/api/rules/search.protobuf?f=repo,name,severity,lang,htmlDesc,htmlNote,internalKey,isTemplate,templateKey,actives&statuses=BETA,DEPRECATED,READY&organization=default-organization&p=21&ps=500: Can return only the first 10000 results. 10500th result asked.
      

      This use case is not supported, but we will improve the error message.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                duarte.meneses Duarte Meneses
                Reporter:
                duarte.meneses Duarte Meneses
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: