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

Unresolved Issues per Assignee is failing when issues are assigned on removed user

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Issues
    • Labels:
      None

      Description

      Steps to reproduce :

      • Assign an open Issue to a user
      • Remove this user
      • Display a dashboard on the issues' project with the "Unresolved Issues per Assignee" widget

      Here are the logs

      2015.01.30 09:49:11 ERROR web[rails]  Can not render widget reviews_per_developer: undefined method `name' for nil:NilClass
      2015.01.30 09:49:11 ERROR web[rails]    compiled-template:47:in `_run_inline_1510973611_locals_dashboard_configuration_widget_widget_properties'
      2015.01.30 09:49:11 ERROR web[rails]    org/jruby/RubyHash.java:1333:in `each'
      2015.01.30 09:49:11 ERROR web[rails]    org/jruby/java/proxies/MapJavaProxy.java:406:in `each'
      2015.01.30 09:49:11 ERROR web[rails]    compiled-template:42:in `_run_inline_1510973611_locals_dashboard_configuration_widget_widget_properties'
      2015.01.30 09:49:11 ERROR web[rails]    org/jruby/RubyKernel.java:2227:in `send'
      2015.01.30 09:49:11 ERROR web[rails]    /Users/julienlancelot/Dev/Utils/sonarqube-5.0/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:34:in `render'
      2015.01.30 09:49:11 ERROR web[rails]    /Users/julienlancelot/Dev/Utils/sonarqube-5.0/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_view/base.rb:306:in `with_template'
      2015.01.30 09:49:11 ERROR web[rails]    /Users/julienlancelot/Dev/Utils/sonarqube-5.0/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:30:in `render'
      2015.01.30 09:49:11 ERROR web[rails]    /Users/julienlancelot/Dev/Utils/sonarqube-5.0/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_view/base.rb:269:in `render'
      2015.01.30 09:49:11 ERROR web[rails]    /Users/julienlancelot/Dev/Utils/sonarqube-5.0/web/WEB-INF/app/helpers/dashboard_helper.rb:161:in `widget_body'
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: