Skip to content
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

check to see if the term is a property before calling obj.multiple?(term) #99

Closed
jcoyne opened this issue Oct 1, 2015 · 0 comments
Closed

Comments

@jcoyne
Copy link
Member

jcoyne commented Oct 1, 2015

build_permitted_params should check to see if the term is a property before calling obj.multiple?(term) otherwise if the term is a method and not a property it will raise UnknownAttributeError. i.e.:

ActiveFedora::UnknownAttributeError: Collection does not have an attribute `visibility'
jcoyne added a commit to samvera-deprecated/curation_concerns that referenced this issue Oct 13, 2015
jcoyne added a commit to samvera-deprecated/curation_concerns that referenced this issue Oct 13, 2015
tpendragon pushed a commit to samvera-deprecated/curation_concerns that referenced this issue Oct 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant