Skip to content

When creating a collection from a FOLIO HRID, check that the HRID actually exists #4977

@andrewjbtw

Description

@andrewjbtw

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions