Collections "users of interest" API causes error when retrieving a null card
Bug #1996938 reported by
Chris Sharp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
This is a very old bug, found and fixed locally for PINES by Mike Peters, then of Emerald Data Networks. Adding his description from the commit message here:
If the open-ils.
has a null "card" value in actor.usr the API will crash with an error like:
Received Exception:
Name: osrfMethodException
Status: *** Call to [open-ils.
Can't call method "barcode" on an undefined value at /usr/local/
Branch on the way.
Changed in evergreen: | |
milestone: | 3.10.1 → 3.10.2 |
Changed in evergreen: | |
assignee: | nobody → Jeff Davis (jdavis-sitka) |
Changed in evergreen: | |
milestone: | 3.10.2 → 3.10.3 |
tags: | removed: signedoff |
Changed in evergreen: | |
milestone: | 3.10.3 → none |
To post a comment you must log in.
Branch here: https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ csharp/ lp1996938_ fix_users_ of_interest_ api
Signed off because we know it works. I will wait a bit before pushing in case people want to review, but mocking up a test would be pretty complex and it's a straightforward change.