Bug 20711

Summary: Previous fields are not cleared when selecting an authority in cataloguing
Product: Koha Reporter: David Bourgault <david.bourgault>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: katrin.fischer, m.de.rooy, patrick.robitaille
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description David Bourgault 2018-05-04 18:04:03 UTC
When choosing an authority for a zone in the bibliographic notice editor, existing fields are not cleared.

So if I have a information in the subfields $a $v $9 and I import a authority notice with subfields $a $9 $x, the previous $v value is not cleared.
Comment 1 Marcel de Rooy 2018-05-14 07:59:59 UTC
(In reply to David Bourgault from comment #0)
> When choosing an authority for a zone in the bibliographic notice editor,
> existing fields are not cleared.
> 
> So if I have a information in the subfields $a $v $9 and I import a
> authority notice with subfields $a $9 $x, the previous $v value is not
> cleared.

Hi David,
We solved a similar (but not identical!) problem in AuthoritiesMarc::merge while updating biblio records for a changed authority. Merge now looks at the pref AuthorityMergeMode and in strict mode deletes the other fields (like $v above).
It sounds logical to me now to clear the fields too in the editor when you set this pref to strict mode.
But note historical behavior is 'loose' mode and default. And perhaps even closer to the MARC standard..

In short, we cannot delete the other values no-matter-what.