noosfero | Fixes empty submission on Custom Forms (!1617)
Rodrigo Souto
gitlab at mg.gitlab.com
Mon Oct 8 11:16:08 BRT 2018
Rodrigo Souto started a new discussion on plugins/custom_forms/lib/custom_forms_plugin/csv_handler.rb:
> end
> answer
> else
> - CustomFormsPlugin::Answer.create!(field: field, value: value, imported: true)
You can't remove the exclamation mark from this call because the `import_csv` method expects `submission_from_row` which calls `build_answers` to crash in case of problems on the answer so it can display it to the user. By removing the exclamation mark this cases will be hidden from the system.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1617#note_107236433
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20181008/c6605a63/attachment.html>
More information about the Noosfero-dev
mailing list