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
Entities: configuring whether name variants should be used #2561
Entities: configuring whether name variants should be used #2561
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't yet test it, but it looks good to me! Thank you @benbosman !
I've just test it and it exposes the form configs as expected. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@benbosman : Overall this code looks good to me. However, I had a few minor questions here about the usage of @Nullable
in the Matcher...I'm not sure it's necessary, and it looks like if nameVariants
is actually null
the Matcher would throw a NPE.
dspace-api/src/test/data/dspaceFolder/config/submission-forms.xml
Outdated
Show resolved
Hide resolved
dspace-server-webapp/src/test/java/org/dspace/app/rest/matcher/SubmissionFormFieldMatcher.java
Outdated
Show resolved
Hide resolved
dspace-server-webapp/src/test/java/org/dspace/app/rest/matcher/SubmissionFormFieldMatcher.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @benbosman and @MarieVerdonck !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good. Thanks!
This is the REST implementation of DSpace/RestContract#77
It allows for configuration specifying whether the entities lookup should present the dropdown to enter name variants