[DRE-maint] Bug#592672: redmine 1.0.0 breaks with ruby-i18n 0.4+ and rails 2.3.6

Karsten König remur at gmx.net
Wed Aug 11 21:41:03 UTC 2010


Package: redmine
Version: 1.0.0-4
Severity: important

After updating from 0.9.6 to 1.0.0-4 on squeeze redmine failed generating 
pages, always results in http error 500, I think some cache pages did still 
load, but basicly broken all over the board.

Redmines log spews:
Processing WelcomeController#index (for 192.168.20.2 at 2010-08-11 22:35:55) 
[GET]
  Parameters: {"action"=>"index", "controller"=>"welcome"}
Rendering template within layouts/base
Rendering welcome/index

ActionView::TemplateError (missing interpolation argument in "%m/%{count}/%Y 
%I:%M %p" ({:object=>Tue Jul 20 00:06:57 +0200 2010} given)) on line #23 of 
app/views/welcome/index.rhtml:
20:             <% for project in @projects %>
21:               <% @project = project %>
22:                     <li>
23:                     <%= link_to h(project.name), :controller => 
'projects', :action => 'show', :id => project %> (<%= 
format_time(project.created_on) %>)
24:                     <%= textilizable project.short_description, :project 
=> project %>
25:                     </li>
26:             <% end %>

    /usr/lib/ruby/1.8/i18n/backend/base.rb:186:in 
`interpolate_without_deprecated_syntax'
    /usr/lib/ruby/1.8/active_record/i18n_interpolation_deprecation.rb:21:in 
`interpolate'
    /usr/lib/ruby/1.8/i18n/backend/base.rb:49:in `translate'
    /usr/lib/ruby/1.8/i18n.rb:152:in `t'

.....

Here is the upstream bugreport:
http://www.redmine.org/issues/5608

http://www.redmine.org/issues/5608#note-3
fixes the problem for now, I don't know if it a proper fix.

Ruby rails 2.3.6+ should also fix this, I don't know if squeeze will see a 
ruby update though so I report against redmine.


Regards,
Karsten






More information about the Pkg-ruby-extras-maintainers mailing list