LP#937789: fake-delete support for monograph parts user/miker/lp937789-updated-fake-delete-parts
authorMike Rylander <mrylander@gmail.com>
Thu, 7 Jun 2012 18:54:24 +0000 (14:54 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 26 Oct 2015 20:16:54 +0000 (16:16 -0400)
commita2c9e5b25f4c376b7fa8b113be5cea18f5fe03ed
tree6bc27ca479afbcee6c65447ebeda0a94816f06bc
parentb15a61ffc934e5e4f558de69505f904b4de0d2e3
LP#937789: fake-delete support for monograph parts

Unlike copies, call numbers, and bibs, parts can be directly removed from the
database.  This has a negative impact on holds, in that the holds become not
just orphaned, but broken entirely.  With this commit we bring part holds to
parity with other hold types such that they can be system-canceled when their
target goes away.  This will avoid spurious UI-level errors to staff.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
12 files changed:
Open-ILS/examples/fm_IDL.xml
Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/biblio.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/SuperCat.pm
Open-ILS/src/sql/Pg/010.schema.biblio.sql
Open-ILS/src/sql/Pg/800.fkeys.sql
Open-ILS/src/sql/Pg/990.schema.unapi.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.fake-delete-parts.sql [new file with mode: 0644]
Open-ILS/src/templates/conify/global/biblio/monograph_part.tt2
Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js
Open-ILS/xul/staff_client/server/cat/volume_copy_creator.js