Support Forum
#supportforum Any doubts or questions on how to use Decidim? Check them with the Community!
Error creating a proposal
Hello to all,
I have a problem that happens when I open a proposal I just created. Once you have created a page of proposals (still empty, but if there are proposals inside it does not change the situation), the following error appears:
NoMethodError in Decidim :: Proposals :: Proposals # index
Showing /home/decidim/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/decidim-proposals-0.18.0/app/views/decidim/proposals/proposals/_filters.html.erb where line # 15 raised:
undefined method `polymorphic? ' for #
Extracted source (around line # 4):
module ReflectionExtensions
def build_join_constraint (table, foreign_table)
>>> if polymorphic?
super (table, foreign_table)
.and (foreign_table [foreign_type] .eq (klass.name))
else
Trace of template inclusion: /home/decidim/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/decidim-proposals-0.18.0/app/views/decidim/proposals/proposals/_filters_small_view .html.erb, /home/decidim/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/gems/decidim-proposals-0.18.0/app/views/decidim/proposals/proposals/index .html.erb
Rails.root: / home / decidim / decidim-app
To be clear, this error appears as soon as I open the URL:
decidimurl.com/processes/processName/f/proposalId/
Thanks for the support
Report inappropriate content
Is this content inappropriate?
2 comments
Hi @pizziDecidim
This is a bug found some days ago and fixed in master and already backported to 0.18-stable. https://github.com/decidim/decidim/pull/5303
You need to wait until release 0.18.1 will be abailable, or use it branch 0.18-stable
thanks for the directions. Can you tell me if there is a way to deploy only the files that would correct the error? I would like to avoid having consequences on the platform in production
Thank you so much
Add your comment
Sign in with your account or sign up to add your comment.
Loading comments ...