[Koha-bugs] [Bug 5572] New: refinements to function merge sub merge in C4::AuthoritiesMarc

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 3 16:22:55 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5572

           Summary: refinements to function merge sub merge in
                    C4::AuthoritiesMarc
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: MARC Authority data support
        AssignedTo: gmcharlt at gmail.com
        ReportedBy: januszop at gmail.com
         QAContact: koha-bugs at lists.koha-community.org
                CC: ian.walls at bywatersolutions.com
   Estimated Hours: 0.0


Created attachment 2941
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=2941
Proposed patch

When merging/editing authority records bibliographic records are to be
corrected.  This is done by merge from C4::AuthoritiesMarc. There has been a
change in this function from 30 Sept./6 Oct. (commit
e9c0a11d41f107425d7f53dcc09e57e3e00ee608) [between 3.2.0 beta and 3.2.0 RC]
(http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5264).

The original behavior in 3.0 was: when authority has been changed, then in the
corresponding fields in the bibliographic records all the subfields of such
fields controlled by authority will be dropped and created anew with only
subfields which have a value in the authority.

The new behavior is much better: in the bibliographic record only subfields
which have a value in the authority_to (the new authority) will be changed.

BUT what there was a subfield present (with value) in authority (and in
bibliographic) and the value is now deleted form authority?  It will still stay
in all bibliographic, whereas it should not. 

Hence my proposal: subfields not active in authority framework will be
preserved; subfields active in the authority framework (i.e. controlled by this
authority type) should be set as in the authority record - either have the
value of corresponding subfield in authority or be empty.

Regards,

Janusz

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list