Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
None
-
None
-
Thor
-
R1 2021 Hot Fix #1
-
Yes
-
CW's note: Discussed at the Weekly FOLIO Update meeting on 5/20/2021 - and was approved by Mark Veksler, Mike Gorrell and more
Description
When importing a record by posting to copycat/imports (mod-copycat), there are three categories of response:
- 200 OK with an internalIdentifier in the response
- 200 OK without an internalIdentifier
- Any other HTTP code.
The meanings of these responses are:
- New record successfully important, and its UUID is known.
- New record queued for import, but its UUID was not known by the time mod-copycat returned its response. (This means it has polled several times for the new record, but not seen it.)
- Some kind of hard error, such as misconfiguration of the Z39.50 target details.
We want the UI to handle these responses as follows:
- Show a green toast stating that the record was imported successfully, and redirect to the new record.
- Show a yellow toast stating that the record was queued for import.
- Red toast stating the error.
TestRail: Results
Attachments
Issue Links
- relates to
-
MODCPCT-32 Ignore errors for polling source storage
-
- Closed
-
-
MODCPCT-36 Single-record-import as "overlay" to existing record does not display updated record
-
- Closed
-
-
UIIN-1452 Record imported via inventory to create new Instance does not display after import
-
- Closed
-