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

Ewout ter Haar ewout at usp.br
Fri Mar 7 17:45:18 BRT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-br/attachments/20140307/c18eb6f1/attachment-0001.html>


More information about the Noosfero-br mailing list