Address LP #983487: Avoid clobbering bib records at authority merge user/senator/avoid-authority-merge-of-destruction
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 5 Jun 2012 21:44:37 +0000 (17:44 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 5 Jun 2012 22:04:34 +0000 (18:04 -0400)
commit0df80e6062b880f42eae5b8e4bb903b7c2705d80
tree48b40f7eda9cd583c2dd31e54a962086e4bd34c8
parentb711ed2db385b1d72a0cf862486329cd7787169b
Address LP #983487: Avoid clobbering bib records at authority merge

If you've set up a relationship between bib record and authority records
based on arbitrary sets of controlling and controlled fields, but your
authority records don't have the right Subj fixed field value
corresponding to a control set that defines the controlling and
controlled fields you're using, authority merge operations may wipe out
lots of bib data.

Yamil Suarez encountered this bug in testing, and in his case what he
needed to do was set the Subj fixed field in his authority records to
'A' to match his Song Title Index (see the launchpad bug referened
above).

Previously, you could not actually save the Subj fixed field in the MARC
editor (which showed HeadSubj instead of Subj for authority records, and
didn't work).  Now you can.

Thanks to Mike Rylander for help in figuring out the above.

To provide additional protection against merging authority records when
they might not be linked with the right control set, the Manage
Authorities interface will now also show you the linked control set for
any given records.

The implementation of that last bit incidentally meant making sure flesh
and flesh_fields get passed through to PermaCrud for retrieve() calls via
the Javascript openils.PermaCrud wrapper.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/templates/cat/authority/list.tt2
Open-ILS/web/js/dojo/openils/PermaCrud.js
Open-ILS/web/js/ui/default/cat/authority/list.js
Open-ILS/xul/staff_client/server/cat/marcedit.xul