LP#1482757: Be sure to remove all orphaned URI
authorMike Rylander <mrylander@gmail.com>
Fri, 19 May 2017 19:33:03 +0000 (15:33 -0400)
committerMichele Morgan <mmorgan@noblenet.org>
Fri, 25 Feb 2022 21:00:43 +0000 (16:00 -0500)
commit7385218078aaaa6a96b306fe508fa7e34eb66b95
tree743da94b88aeaf20c8c7d64be060045b693a8f09
parent6d1bf426203adcc3ef45fcbef0034a21d2693604
LP#1482757: Be sure to remove all orphaned URI

As reported by Michele Morgan, URIs can be orphaned in some cases, such
as when a location drops one of several 856 entries.  This commit tracks
objects at the mapping level, to identify disused URIs even where the
call number level is not changed.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/sql/Pg/030.schema.metabib.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.function.biblio.extract_located_uris.sql