Re: Impossível criar formulário na versão 0.44.1?
Leandro Nunes
leandronunes at gmail.com
Thu Aug 1 10:34:43 BRT 2013
Pessoal quando isso ocorreu em outras situaçoes era pelo fato de ter um
include para a classe ApplicationHelper.
Pode ser que este plugin tenha este ou outro include que esteja dando erro.
Abraços,
Em 01/08/2013 10:22, "Daniela Feitosa" <danielafeitosa em colivre.coop.br>
escreveu:
Oi,
On 31-07-2013 11:43, Rodrigo Souto wrote:
> Daniel,
> Tem como você (ou alguém do EITA) olhar o log no servidor e postar o
> erro? Consegui usar a funcionalidade normalmente no nosso servidor de
> testes que está com a 0.44.2. Apesar de ser a versão mais nova,
> teoricamente não deveria ter nenhuma diferença no plugin de forms.
>
O log do erro:
------------------------------**--
A ActionView::TemplateError occurred in custom_forms_plugin_profile#**show:
undefined method `active_fields' for nil:NilClass
On line #4 of plugins/custom_forms/views/**shared/_form_submission.html.**
erb
1:<% self.extend(CustomFormsPlugin:**:Helper) %>
2:
3:<% @form.fields.each do |field| %>
4:<%= display_custom_field(field, @submission, f.object_name) %>
5:<% end %>
app/helpers/profile_helper.rb:**4:in `display_field'
config/plugins/custom_forms/**lib/custom_forms_plugin/**helper.rb:63:in
`send'
config/plugins/custom_forms/**lib/custom_forms_plugin/**helper.rb:63:in
`display_custom_field'
plugins/custom_forms/views/**shared/_form_submission.html.**erb:4
------------------------------**--
Por algum motivo, o "profile" tá send nil em:
app/helpers/profile_helper.rb
--
Daniela Soares Feitosa
Colivre - Cooperativa de Tecnologias Livres
http://www.Colivre.coop.br/
55 71 3331-2299/ 55 71 8165-1685
______________________________**_________________
Noosfero-br mailing list
Noosfero-br em listas.**softwarelivre.org<Noosfero-br em listas.softwarelivre.org>
http://listas.softwarelivre.**org/cgi-bin/mailman/listinfo/**noosfero-br<http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/noosfero-br>
-------------- Pr?xima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-br/attachments/20130801/ac7518de/attachment.html>
More information about the Noosfero-br
mailing list