Report a Bug
#BugReportDecidim Let's test Decidim and report bugs together
Error 500 when creating a participatory text without an uploaded file
Accepted
If I have a proposal component with the "participatory texts" flag active, and I try to create a participatory text without uploading any file, the platform generates a server error (undefined method "content_type" for nil).
The form should validate there's an uploaded document.
List of Endorsements
Report inappropriate content
Is this content inappropriate?
3 comments
Conversation with Oliver Valls
I removed the validation to allow updating the metainformation of the Participatory Text without having to upload a file. So the form should validate there's an uploaded document only on create.
Ah yes, makes sense! 😄
Hi @mrcasals, thanks for reporting this. Issue opened here: https://github.com/decidim/decidim/issues/5074
Add your comment
Sign in with your account or sign up to add your comment.
Loading comments ...