Describe the bug
As an admin user, when I upload a CSV file through the "Organization's census" on /admin/csv_census/ I get a 500 error with the following log:
To Reproduce
Steps to reproduce the behavior:
- Log in as admin user
- Go to /admin/csv_census/
- Upload CSV file with any data
- Click on "Upload file"
- See error
Expected behavior
To not have a 500
Screenshots
N/A
Stacktrace
I, [2019-11-18T12:27:50.447143 #1423] INFO -- : [318c4de3-ba05-40c5-a531-3dc1fee9c38b] Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
F, [2019-11-18T12:27:50.448442 #1423] FATAL -- : [318c4de3-ba05-40c5-a531-3dc1fee9c38b]
F, [2019-11-18T12:27:50.448488 #1423] FATAL -- : [318c4de3-ba05-40c5-a531-3dc1fee9c38b] NoMethodError (undefined method `email_regexp' for Decidim::Devise:Module):
F, [2019-11-18T12:27:50.448514 #1423] FATAL -- : [318c4de3-ba05-40c5-a531-3dc1fee9c38b]
F, [2019-11-18T12:27:50.448561 #1423] FATAL -- : [318c4de3-ba05-40c5-a531-3dc1fee9c38b] /decidim-verifications/app/models/decidim/verifications/csv_census/data.rb:32:in `process_row'
[318c4de3-ba05-40c5-a531-3dc1fee9c38b] /decidim-verifications/app/models/decidim/verifications/csv_census/data.rb:24:in `block in initialize'
Extra data (please complete the following information):
- Device: N/A
- Device OS: N/A
- Browser: N/A
- Decidim Version: 0.19 and 0.20.dev
- Decidim installation: Try Decidim
Additional context
https://gitter.im/decidim/decidim?at=5dd3c5d650010612b2e6f626
Describe the bug
As an admin user, when I upload a CSV file through the "Organization's census" on /admin/csv_census/ I get a 500 error with the following log:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To not have a 500
Screenshots
N/A
Stacktrace
Extra data (please complete the following information):
Additional context
https://gitter.im/decidim/decidim?at=5dd3c5d650010612b2e6f626