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

problems with "Raw" link in Violations drilldown for user without Code Viewer role

    XMLWordPrintable

    Details

      Description

      If you don't have the Code Viewer role, you're still presented the "Raw" and "New window" links in the Violations drilldown. Click through on the Raw link and you see the bare (uninterpreted) HTML of the "We're sorry, but something went wrong" page (server doctype?) and you get this in the log:

      2012.11.03 20:45:30 ERROR o.s.s.ui.JRubyFacade Fail to render: http://localhost:9000/api/sources?resource=org.apache:tomcat:org.apache.el.parser.ELParserTokenManager&format=txt
      Can only render or redirect once per action
      /usr/share/sonar-3.3-RC2/war/sonar-server/WEB-INF/gems/gems/actionpack-2.3.14/lib/action_controller/base.rb:891:in `render'
      &etc...

        Attachments

          Activity

            People

            Assignee:
            fabemn OLD - Fabrice Bellingard
            Reporter:
            ganncamp OLD - GAC
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: