Project

General

Profile

Internal Error after upgrading to redmine trunk

Added by Neil K almost 15 years ago

Hi all,

I have upgraded Redmine to the latest development version (Redmine 0.8.4.devel.2815) via svn and now I am getting "Internal Error" when accessing "My Page". I am running Redmine on an RHEL 5.3 box with ruby 1.8.7, rails 2.2.2 and MySQL 5.0.

Here is the error log :

ActionView::TemplateError (undefined method `-' for {:length=>60}:Hash) on line #20 of app/views/issues/_list_simple.rhtml:
17: <td class="project"><%= link_to(h(issue.project), :controller => 'projects', :action => 'show', :id => issue.project) ></td>
18: <td class="tracker"><
=h issue.tracker ></td>
19: <td class="subject">
20: <
= link_to h(truncate(issue.subject, :length => 60)), :controller => 'issues', :action => 'show', :id => issue > (<=h issue.status >)
21: </td>
22: </tr>
23: <
end %>

Any help in this regard will be great.

Regards,
Neil


Replies (2)

RE: Internal Error after upgrading to redmine trunk - Added by Neil K almost 15 years ago

Is there anyone having the same error on the latest trunk?

ActionView::TemplateError (undefined method `-' for {:length=>60}:Hash)

Regards,
Neil

RE: Internal Error after upgrading to redmine trunk - Added by Neil K almost 15 years ago

I solved it by editing the environment.rb file.

    (1-2/2)