Vote #68811
完了Issue-description Quote-button missing
0%
説明
Due to the refactoring of the @IssuesController@, @IssuesController#reply@ has been moved into @JournalsController#new@ in r3941. During this specific refactoring one LOC(Line Of Code) has been forgotten to be changed according to the new controller-schema.
This fault causes that issue description's quote-button is not showing up in the UI.
I've been able to patch this defect using the following change (which I won't upload as a seperate patch-file due to its size :):
Index: app/views/issues/show.rhtml
===================================================================
--- app/views/issues/show.rhtml (revision 4515)
+++ app/views/issues/show.rhtml (working copy)
@@ -49,7 +49,7 @@
<% if @issue.description? %>
- <%= link_to_remote_if_authorized(l(:button_quote), { :url => {:action => 'reply', :id => @issue} }, :class => 'icon icon-comment') %>
+ <%= link_to_remote_if_authorized(l(:button_quote), { :url => {:controller => 'journals', :action => 'new', :id => @issue} }, :class => 'icon icon-comment') %>
<%=l(:field_description)%>
Since this (small) issue is affecting current stable branch (actually, it's introduced in Redmine 1.0.1) I've set the target version to 1.0.5. Please correct it if necessary...
journals
Fixed in r4530 with a simple test and merged in 1.0-stable.
Thanks.
--------------------------------------------------------------------------------