Project

General

Profile

Actions

Defect #6789

closed

HTTP/500 when accessing home page OR

Added by Adrian S. about 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Projects
Target version:
-
Start date:
2010-11-02
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

Hi,

There is a strange bug when I try to access the homepage or any project home page wich has some news items (projects without any news item displays correcly):

Processing WelcomeController#index (for XXX.XXX.XXX.XXX at 2010-11-02 09:34:39) [GET]
  Parameters: {"action"=>"index", "controller"=>"welcome"}
Rendering template within layouts/base
Rendering welcome/index

ActionView::TemplateError (wrong number of arguments (2 for 0)) on line #6 of app/views/news/_news.rhtml:
3: <%= "(#{l(:label_x_comments, :count => news.comments_count)})" if news.comments_count > 0 %>
4: <br />
5: <% unless news.summary.blank? %><span class="summary"><%=h news.summary %></span><br /><% end %>
6: <span class="author"><%= authoring news.created_on, news.author %></span></p>

Regards,


Related issues

Is duplicate of Redmine - Defect #6784: Redmine not working with i18n gem 0.4.2ClosedFelix Schäfer2010-11-01

Actions
Actions

Also available in: Atom PDF