Project

General

Profile

Actions

Defect #27

closed

project summary(/projects/show/*) returns error when running as CGI

Added by Satoru KURASHIKI about 17 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

but it works fine when running with webrick(same app, same DB, same RAILS_ENV).

error log is:
--
ActionView::TemplateError (Translation value "open" with arguments [0] caused error 'too many arguments for
format string') on line #29 of app/views/projects/show.rhtml:
26: <li><%= link_to tracker.name, :controller => 'projects', :action => 'list_issues', :id =>
Herve Harster,
27: :set_filter => 1,
28: "tracker_id" => tracker.id >:
29: <
= @open_issues_by_tracker[tracker] || 0 > <= lwr(:label_open_issues, @open_issues_by_tracker[tracker] || 0) >
30: <
= l(:label_on) > <= @total_issues_by_tracker[tracker] || 0 ></li>
31: <
end %>
32: </ul>

#{RAILS_ROOT}/vendor/plugins/gloc-1.1.0/lib/gloc-internal.rb:93:in `_l'
#{RAILS_ROOT}/vendor/plugins/gloc-1.1.0/lib/gloc.rb:44:in `lwr_'
#{RAILS_ROOT}/vendor/plugins/gloc-1.1.0/lib/gloc.rb:36:in `lwr'
#{RAILS_ROOT}/app/views/projects/show.rhtml:29:in `_run_rhtml_47app47views47projects47show46rhtml'
#{RAILS_ROOT}/app/views/projects/show.rhtml:25:in `each'
#{RAILS_ROOT}/app/views/projects/show.rhtml:25:in `_run_rhtml_47app47views47projects47show46rhtml'
--
Is it caused from wrong CGI settings...?

My environment:
redmine trunk(r388) with MySQL on FreeBSD4.1

Actions

Also available in: Atom PDF