sul-dlss / sul_pub

SUL system for harvest and managing publications for Stanford CAP, with controlled API access.
http://cap.stanford.edu
Other
8 stars 3 forks source link

allow for blank identifier blocks in the Wos Links client response #1659

Closed peetucket closed 9 months ago

peetucket commented 9 months ago

Why was this change made?

Fixes #1658 - it appears some WoS UID records can come back from the Links client with no identifier block. This guards against that scenario and appropriately returns a blank record.

How was this change tested?

Localhost and new test which hits the API and verifies the response.

I ran the new test with and without the fix and verify it fails before with the expected exception and passes afterward.