It is possible to delete acq.cancel_reasons that are used by the system
Bug #1513554 reported by
Chris Sharp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
High
|
Unassigned | ||
2.8 |
Fix Released
|
Undecided
|
Unassigned | ||
2.9 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The DB seed data adds specific acq cancel reasons that are referred to by the Evergreen application layer by ID. Currently, it is possible for a well-meaning end user to delete these statuses, causing breakage whenever certain acq functions are called. These should be protected.
Branch on the way.
Evergreen 2.7 through current master
OpenSRF 2.4.1
PostgreSQL 9.3
Ubuntu 14.04
Changed in evergreen: | |
assignee: | Chris Sharp (chrissharp123) → Kathy Lussier (klussier) |
Changed in evergreen: | |
milestone: | 2.next → 2.10-beta |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Working branch here: http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=commit; h=ba7d238f4b111 fe5a2bdab8d8d1f 704c4bde5c27
To do: add a pgtap test.
NOTE: this branch creates a new function in the evergreen schema that can be re-used for similar purposes.
Many thanks to Bill Erickson and Galen Charlton for assistance on this.