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

Can't edit filter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: Measures
    • Labels:
      None

      Description

      Logged in:
      1.) My Filters
      2.) Projects
      3.) Edit

      Before this happend I changed the projects from table to treeview I think...

      Restarting sonar doesn't help.

      2012.06.26 17:20:08 ERROR o.s.s.ui.JRubyFacade Fail to render: http://127.0.0.1:9000/filters/edit/1
      undefined local variable or method `widget' for #<ActionView::Base:0x42e18a>
      On line #5 of app/views/filters/_treemap.html.erb

      2: <%= message('filters.treemap_not_supported_for_period_selection') -%>
      3: <% else %>
      4: <% metrics=treemap_metrics(@filter) %>
      5: <%= render :partial => 'treemap/treemap_container', :locals => {
      6: :treemap_id => widget.id,
      7: :size_metric => metrics[0],
      8: :color_metric => metrics[1],

      app/views/filters/_treemap.html.erb:5
      org/jruby/RubyKernel.java:2056:in `send'
      app/views/filters/new.html.erb:193
      org/jruby/RubyKernel.java:2056:in `send'
      app/controllers/filters_controller.rb:89:in `edit'
      org/jruby/RubyKernel.java:2052:in `send'
      org/jruby/RubyKernel.java:2052:in `send'
      org/jruby/RubyProc.java:268:in `call'
      org/jruby/RubyProc.java:228:in `call'
      file:lib/jruby-rack-1.0.0.1.jar!/vendor/rack-1.2.1/rack/head.rb:9:in `call'
      file:lib/jruby-rack-1.0.0.1.jar!/vendor/rack-1.2.1/rack/methodoverride.rb:24:in `call'
      file:lib/jruby-rack-1.0.0.1.jar!/jruby/rack/session_store.rb:42:in `call'
      file:lib/jruby-rack-1.0.0.1.jar!/rack/adapter/rails.rb:36:in `serve_rails'
      file:lib/jruby-rack-1.0.0.1.jar!/rack/adapter/rails.rb:41:in `call'
      file:lib/jruby-rack-1.0.0.1.jar!/jruby/rack/rails.rb:185:in `call'
      file:lib/jruby-rack-1.0.0.1.jar!/rack/handler/servlet.rb:19:in `call'

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              friesoft Bernhard Friedreich
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: