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

Ignore incorrect sort

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.5
    • Component/s: Measures
    • Labels:
      None

      Description

      It seems that in past version a SonarQube, it was possible to sort measure filters by links, but as it's now no more possible, such filters are failing to render with the error :

      ERROR [o.s.MEASURE_FILTER]  Fail to execute measure filter: MeasureFilterContext[filter={display=list|cols=metric:alert_statusnameversionmetric:nclocmetric:violations_densitydatelinks|sort=links|asc=false|qualifiers=TRK|pageSize=30},sql=<null>,user=<null>]
      java.lang.IllegalArgumentException: No enum const class org.sonar.core.measure.MeasureFilterSort$Field.LINKS
      

      Unknown sort should be silently ignored.

      See http://sonarqube.15.x6.nabble.com/Sonar-analysis-failed-due-to-socket-timeout-td5026084.html#a5026113

        Attachments

          Activity

            People

            Assignee:
            julien.lancelot Julien Lancelot
            Reporter:
            julien.lancelot Julien Lancelot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: