【问题标题】:Sonar 5.2 Differential Dropdown widget error声纳 5.2 差分下拉小部件错误
【发布时间】:2016-01-08 21:24:11
【问题描述】:

当我尝试将差分下拉小部件添加到 Sonar 5.2 的主仪表板时,我在服务器日志中看到以下错误:

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'
....

【问题讨论】:

    标签: widget sonarqube


    【解决方案1】:

    Differential Dropdown 小部件已被删除,因为它不支持最新版本的 SonarQube,请参阅 SONARWIDLB-13 。您应该改用内置的Differential Views

    【讨论】:

      猜你喜欢
      • 2016-02-05
      • 1970-01-01
      • 1970-01-01
      • 2018-06-30
      • 2017-05-09
      • 1970-01-01
      • 2016-02-26
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多