Attempting to delete a copy location with attached copies should display an error message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Low
|
Unassigned | ||
2.6 |
Fix Released
|
Undecided
|
Unassigned | ||
2.7 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Evergreen 2.3.2 > master
PostgreSQL 9.1
Ubuntu 12.04
When attempting to delete a copy location with items still attached, staff don't recieve any sort of error message letting them know why the delete failed.
The only source of knowing why it failed is the logs:
013-03-13 08:50:30 next-brick01-head open-ils.cstore: [ERR :13617:
2013-03-13 08:50:30 next-brick01-head open-ils.circ: [ERR :13638:
I'm requesting some sort of error display in the staff client when such an action fails. Currently, no message at all is displayed.
Changed in evergreen: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Ran across this again while testing the new asset.copy_location deleted flag. Since unhandled exceptions are more of a bug than not, I've reclassified this bug. I also have a pull request ready to go at the tip of the user/gmcharlt/ lp1154579_ warn_on_ acpl_delete_ failure branch in the working/Evergreen repository:
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ gmcharlt/ lp1154579_ warn_on_ acpl_delete_ failure