]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1564079 Checkout history skips nonexistent items
authorBill Erickson <berickxx@gmail.com>
Wed, 30 Mar 2016 21:57:59 +0000 (17:57 -0400)
committerKathy Lussier <klussier@masslnc.org>
Wed, 27 Apr 2016 14:27:03 +0000 (10:27 -0400)
commit83c957265c98893a2a2072eb043563315318fce2
tree6d0dff8fb0c840d923ac592d860873f40b80b782
parent6479b57853d552d227849da063ae8511a33f001e
LP#1564079 Checkout history skips nonexistent items

Modify the user checkout history migration process
(2.9.3-2.10.0-upgrade-db.sql and 0960.schema.decouple_co_history.sql) to
avoid inserting history rows for circulations whose copies do not
exist in the database.

For reference, this is a rare condition that cannot be recreated in a
modern EG system short of modifying constraints.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/sql/Pg/upgrade/0960.schema.decouple_co_history.sql
Open-ILS/src/sql/Pg/version-upgrade/2.9.3-2.10.0-upgrade-db.sql