When a user enters a FOLIO HRID on the collection creation form, the form should validate that the HRID exists. Item registration currently has this functionality.
Currently, if a user enters a FOLIO HRID that doesn't exist, there is a bad gateway error.
The collection form appears in three places:
-
Navigate to an APO show page and then click the blue button for "create collection"
-
Use the "Create APO" form (creating APO + collection at the same time)
-
New feature: create a collection from the registration dropdown in the Argo header
Additional info
We validate the format of the HRID already (see #4738) but not that the HRID exists.