undefined method `base_class' for FilePresenter::Image:Class

Rodrigo Souto rodrigo at colivre.coop.br
Mon Mar 10 13:36:20 BRT 2014


Olá Ewout,

Registrei o bug aqui: http://noosfero.org/Development/ActionItem3032
Já identifiquei o problema e estamos resolvendo. Iremos lançar uma
versão de manutenção logo que o problema esteja resolvido uma vez que
este problema é um blocker.

Ewout ter Haar escreveu isso ai:
> Noosfero 0.46.1 (acabamos de atualizar, deu tudo certo... mas engraçado
> como a motivação de testar aumenta *após* o deploy em produção...)
> 
> O HTTP 500 ocorre em "Gerenciamento de Conteúdo" /myprofile/ewout/cms
> na segunda página: /myprofile/ewout/cms?npage=2
> 
> O erro no production.log é (parte inicial)
> 
> Processing CmsController#index (for 143.107.128.138 at 2014-03-07 17:38:17)
> [GET]
>   Parameters: {"profile"=>"ewout", "action"=>"index", "controller"=>"cms",
> "npage"=>"2"}
>   HTTP Referer:
>   User Agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like
> Gecko) Chrome/29.0.1547.65 Safari/537.36
>   Accept-Language: en-US,pt-BR;q=0.8,en;q=0.6,nl;q=0.4
> Rendering template within layouts/application-ng
> Rendering cms/view
> 
> ActionView::TemplateError (undefined method `base_class' for
> FilePresenter::Image:Class) on line #67 of app/views/cms/view.rhtml
> :
> 64:         <%= short_description %>
> 65:       </td>
> 66:       <td class="article-controls">
> 67:         <%= expirable_button article, :edit, _('Edit'), {:action =>
> 'edit', :id => article.id} if !remove_content_button(:ed
> it) %>
> 68:         <%= button_without_text :eyes, _('Public view'),
> article.view_url %>
> 69:         <%= display_spread_button(profile, article) unless
> article.folder? || remove_content_button(:spread)%>
> 70:         <% if !environment.enabled?('cant_change_homepage') &&
> !remove_content_button(:home) %>
> 
> Será que tem a ver com "Reset profile homepage" em
> http://noosfero.org/Development/NoosferoVersion00x46x00#Features ?
> 
> 
> Ewout
> 
> 
> http://social.stoa.usp.br/ewout <http://stoa.usp.br/ewout>
> F. 30916696

> _______________________________________________
> Noosfero-br mailing list
> Noosfero-br em listas.softwarelivre.org
> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/noosfero-br


-- 
Rodrigo Souto <rodrigo em colivre.coop.br> :: 55 71 8131-7714
Colivre - Cooperativa de Tecnologias Livres
http://www.colivre.coop.br/
-------------- Pr?xima Parte ----------
Um anexo n?o-texto foi limpo...
Nome: signature.asc
Tipo: application/pgp-signature
Tamanho: 490 bytes
Descri??o: Digital signature
URL: <http://listas.softwarelivre.org/pipermail/noosfero-br/attachments/20140310/69949c5b/attachment.pgp>


More information about the Noosfero-br mailing list