Hi,

On Fri, Jul 25, 2014 at 01:42:56PM +0200, Adi Kriegisch wrote:
> Package: redmine
> Version: 2.5.1-2~bpo70+1
> 
> Hey!
> 
> There is another issue with that backport: it requires a newer version of
> ruby-mime-types:
>   | ActionView::Template::Error (undefined method `find' for
>   | MIME::Types:Class):
>   |     1: <div class="attachments">
>   |     2: <% for attachment in attachments %>
>   |     3: <p><%= link_to_attachment attachment, :class => 'icon 
> icon-attachment', :download => true -%>
>   |     4:   <% if attachment.is_text? %>
>   |     5:     <%= link_to image_tag('magnifier.png'),
>   |     6:                 :controller => 'attachments', :action => 'show',
>   |   lib/redmine/mime_type.rb:63:in `block in of'
>   |   lib/redmine/mime_type.rb:66:in `yield'
>   |   lib/redmine/mime_type.rb:66:in `default'
>   |   lib/redmine/mime_type.rb:66:in `of'
>   |   lib/redmine/mime_type.rb:78:in `main_mimetype_of'
>   |   lib/redmine/mime_type.rb:85:in `is_type?'
>   |   app/models/attachment.rb:217:in `is_text?'
>   |   app/views/attachments/_links.html.erb:3:in `block in
>   | _app_views_attachments__links_html_erb___1975547646385983842_56322060'
>   |   app/views/attachments/_links.html.erb:2:in
>   | `_app_views_attachments__links_html_erb___1975547646385983842_56322060'
>   |   app/helpers/attachments_helper.rb:31:in `link_to_attachments'
>   |   app/views/wiki/show.html.erb:46:in
>   | `_app_views_wiki_show_html_erb___4419406770341271523_36907160'
>   |   app/controllers/wiki_controller.rb:97:in `show'
>  
> I backported the version currently in sid and everything seems to work
> fine. All wiki pages with attachments were affected by this issue.

Thanks for the information. I have just uploaded a new ruby-mime-types
to wheezy-backports as well.

-- 
Antonio Terceiro <[email protected]>

Attachment: signature.asc
Description: Digital signature

Reply via email to