You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a user enters e.g. "62766" in the PN ID field, this causes an error e.g.:
NoMethodError: undefined method `values' for nil:NilClass
/PROJECT_ROOT/app/models/publication.rb:129→ populate_identifiers_from_identifiers
/PROJECT_ROOT/app/controllers/publications_controller.rb:61→ create
We should check by prepending digit-only strings with papyri.info/hgv/ and papyri.info/dclp/ to see if we get results that way, and use those results if so. If not, we should return an error message to the user informing them to use a papyri.info string.
The text was updated successfully, but these errors were encountered:
ryanfb
changed the title
Handle HGV numbers entered in PN ID "advanced create" field
Handle HGV/DCLP numbers entered in PN ID "advanced create" field
Mar 19, 2021
If a user enters e.g. "62766" in the PN ID field, this causes an error e.g.:
We should check by prepending digit-only strings with
papyri.info/hgv/
andpapyri.info/dclp/
to see if we get results that way, and use those results if so. If not, we should return an error message to the user informing them to use apapyri.info
string.The text was updated successfully, but these errors were encountered: