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 19:56:36 +0000 (14:56 -0500)
commit892a7bf054f511ddf3b9fd3fa855d8b500ce25c0
tree068b32dced60658d205e991a0e37861bd422ea00
parent22b4abd1ddf06acae25b4dcfb2adb9b56e0e2846
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