Cannot activate PO which contains only direct charges (no bibs)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Undecided
|
Unassigned | ||
2.3 |
Fix Released
|
Undecided
|
Unassigned | ||
2.4 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Confirmed in Evergreen master circa 2.4; likely affects 2.3, possibly 2.2
Create a PO and add a direct charge under the "Direct Charges, Taxes, Fees, etc." section along the bottom of the PO interface. Attempting to activate the PO (to encumber the funds) hangs on the PO activation status page as a result of this error:
Error: Error: Method error: undefined : *** Call to [open-ils.
Can't use an undefined value as an ARRAY reference at /usr/local/
It would appear that some aspect(s) of the code assume a PO contains at least one bib w/ copies, however it should be possible to activate a PO with only direct charges.
Changed in evergreen: | |
status: | New → Triaged |
Changed in evergreen: | |
status: | Triaged → Confirmed |
tags: | added: pullrequest |
Changed in evergreen: | |
milestone: | none → 2.5.0-m2 |
Changed in evergreen: | |
status: | Confirmed → Fix Committed |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Sitka identified this bug back in July 2012 on version 2.2 and applied a fix, but we forgot to report a launchpad ticket. Here is a patch of our fix.