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

The web service /api/profiles/list fails when parameter "project" is set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2
    • Fix Version/s: 4.3
    • Component/s: Quality Profile, Web
    • Labels:
      None

      Description

      {"err_code":500,"err_msg":"undefined method `profiles' for
      #<Java::OrgSonarServerQualityprofile::QProfiles:0x1d5a4e8d>\n\tE:/SonarVersions/sonarqube-4.2/web/WEB-INF/app/controllers/api/profiles_controller.rb:41:in
      `list'\n\torg/jruby/RubyKernel.java:2223:in
      `send'\n\tE:/SonarVersions/sonarqube-4.2/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/base.rb:1333:in
      `perform_action'\n\tE:/SonarVersions/sonarqube-4.2/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/filters.rb:617:in
      `call_filters'\n\tE:/SonarVersions/sonarqube-4.2/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/filters.rb:610:in
      `perform_action_with_filters'\n\tE:/SonarVersions/sonarqube-4.2/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/benchmarking.rb:68:in
      `perform_action_with_benchmark'\n\tE:/SonarVersions/sonarqube-4.2/web/WEB-INF/gems/gems/activesupport-2.3.15/lib/active_support/core_ext/benchmark.rb:17:in
      `ms'\n\tjar:file:/E:/SonarVersions/sonarqube-4.2/web/WEB-INF/lib/jruby-complete-1.7.9.jar!/META-INF/jruby.home/lib/ruby/1.8/benchmark.rb:308:in
      `realtime'\n\tE:/SonarVersions/sonarqube-4.2/web/WEB-INF/gems/gems/activesupport-2.3.15/lib/active_support/core_ext/benchmark.rb:17:in
      `ms'\n\tE:/SonarVersions/sonarqube-4.2/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/benchmarking.rb:68:in
      `perform_action_with_benchmark'\n\tE:/SonarVersions/sonarqube-4.2/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/rescue.rb:160:in
      `perform_action_with_rescue'\n\tE:/SonarVersions/sonarqube-4.2/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_controller/flash.rb:151:in
      `perform_action_with_flash'\n\torg/jruby/RubyKernel.java:2223:in
      

        Attachments

          Activity

            People

            Assignee:
            julien.lancelot Julien Lancelot
            Reporter:
            simon.brandhof Simon Brandhof (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: