【发布时间】:2014-06-24 19:06:43
【问题描述】:
我可以从 Sonar 问题视图中链接到 JIRA。该问题已在 JIRA 中成功创建。 JIRA 描述中包含指向 Sonar 问题的链接。在这之后有两个问题:
- 我无法通过提供返回 Sonar 的链接从 JIRA 导航。点击那个链接给我:
很抱歉,出了点问题。
请过几分钟再试,如果问题仍然存在,请联系支持人员。
返回首页
- 上述消息也会显示 - 当我尝试从 Sonar 对右上角图标上的特定问题执行相同操作时。 (可能是因为它是同一个链接)。
以前有人见过吗?
sonar.log 显示如下内容:
2014.06.19 23:10:13 错误 [o.s.s.ui.JRubyFacade] 无法渲染:http://****:9000/issue/show/19b4e295-ac26-47d7-84f3-d60e0a49c67c?layout=false
nil:NilClass 的未定义方法“名称” 在 app/views/issue/_issue.html.erb 的第 137 行
134: comment_html_id = "comment-#{comment.key}-#{rand(100)}" %>
135: <div class="code-issue-comment" id="<%= comment_html_id -%>" data-comment-key="<%= comment.key -%>">
136: <h4>
137: <%= image_tag('reviews/comment.png') -%> <b><%= h( @issue_results.user(comment.userLogin()).name() ) -%></b>
138: (<%= distance_of_time_in_words_to_now(Api::Utils.java_to_ruby_datetime(comment.createdAt)) -%>)
139: <% if current_user && current_user.login==comment.userLogin %>
140:
app/views/issue/_issue.html.erb:137
file:lib/jruby-complete-1.7.9.jar!/jruby/java/java_ext/java.util.rb:7:in `each'
app/views/issue/_issue.html.erb:133
org/jruby/RubyKernel.java:2227:in `send'
gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:34:in `render'
gems/gems/actionpack-2.3.15/lib/action_view/base.rb:306:in `with_template'
gems/gems/actionpack-2.3.15/lib/action_view/renderable.rb:30:in `render'
gems/gems/actionpack-2.3.15/lib/action_view/renderable_partial.rb:20:in `render'
gems/gems/actionpack-2.3.15/lib/action_controller/benchmarking.rb:30:in `benchmark'
gems/gems/actionpack-2.3.15/lib/action_view/renderable_partial.rb:19:in `render'
gems/gems/actionpack-2.3.15/lib/action_view/template.rb:205:in `render_template'
gems/gems/actionpack-2.3.15/lib/action_view/renderable_partial.rb:44:in `render_partial'
gems/gems/actionpack-2.3.15/lib/action_view/partials.rb:184:in `render_partial'
gems/gems/actionpack-2.3.15/lib/action_view/base.rb:267:in `render'
app/views/issue/_show.html.erb:25
org/jruby/RubyKernel.java:2227:in `send'
【问题讨论】:
标签: sonarqube