New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection license is not saving #438

bsp3ars opened this Issue Sep 25, 2018 · 0 comments


None yet
3 participants

bsp3ars commented Sep 25, 2018

When creating a collection, the license that the user selects is not getting saved in the database, however it is getting passed (checked via params). After a further inspection of the problem and a discussion with @hortongn , it has become aware that the parameter :license is not getting allowed due to Unpermitted parameter: :license in the rails console. It most likely has something to do with strong parameters, however I didn't see any listed anywhere.

@crowesn crowesn self-assigned this Sep 27, 2018

@hortongn hortongn closed this in #445 Oct 4, 2018

hortongn added a commit that referenced this issue Oct 4, 2018

Merge pull request #445 from uclibs/bug/#438-collection-license
Fix collection license persistence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment