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)
committerJason Stephenson <jason@sigio.com>
Thu, 24 Sep 2020 16:28:07 +0000 (12:28 -0400)
commit551e7ef0c2134ff3428ec2d5436613f19e4313ad
tree206e7a3be915add99fc4eb126c26c37a449d9363
parent07296e2ec2f72eb0edd1f842a5a16190d0ba7349
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>
Open-ILS/src/sql/Pg/030.schema.metabib.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.function.biblio.extract_located_uris.sql