当我尝试将Differential Dropdown小部件添加到Sonar 5.2中的Main Dashboard时,我在服务器日志中看到以下错误:
2016.01.08 09:27:28 ERROR web[rails] Can not render widget rules: undefined method `strftime' for nil:NilClass
2016.01.08 09:27:28 ERROR web[rails] compiled-template:20:in `_run_inline_1764444193_locals_dashboard_configuration_widget_widget_properties'
2016.01.08 09:27:28 ERROR web[rails] org/jruby/RubyKernel.java:2227:in `send'
2016.01.08 09:27:28 ERROR web[rails] /apps/eqbld/sonar/sonarqube-5.2/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:34:in `render'
2016.01.08 09:27:28 ERROR web[rails] /apps/eqbld/sonar/sonarqube-5.2/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_view/base.rb:306:in `with_template'
2016.01.08 09:27:28 ERROR web[rails] /apps/eqbld/sonar/sonarqube-5.2/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:30:in `render'
2016.01.08 09:27:28 ERROR web[rails] /apps/eqbld/sonar/sonarqube-5.2/web/WEB-INF/gems/gems/actionpack-2.3.15/lib/action_view/base.rb:269:in `render'
2016.01.08 09:27:28 ERROR web[rails] /apps/eqbld/sonar/sonarqube-5.2/web/WEB-INF/app/helpers/dashboard_helper.rb:168:in `widget_body'
2016.01.08 09:27:28 ERROR web[rails] /apps/eqbld/sonar/sonarqube-5.2/web/WEB-INF/app/views/dashboard/_widget.html.erb:3:in `_run_erb_app47views47dashboard47_widget46html46erb_locals_object_widget'
2016.01.08 09:27:28 ERROR web[rails] org/jruby/RubyKernel.java:2227:in `send'
....发布于 2016-01-08 21:24:12
Differential Dropdown小工具正在被删除,因为它不支持最新版本的SonarQube,请参阅SONARWIDLB-13。您应该利用内置的Differential Views。
https://stackoverflow.com/questions/34673663
复制相似问题