Bug 38849

Summary: Unable to add multiple tags using MARC modification template
Product: Koha Reporter: Esther Melander <esther.melander>
Component: CatalogingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: m.de.rooy
Version: 24.05   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Esther Melander 2025-01-08 21:03:03 UTC
To Replicate on 24.05.05

1. Create a MARC modification template such as:

Add new 500 $a value: This is a note

2. Find a bibliographic record which already contains text in 500$a or add it if it does not.

3. Apply the MARC modification template from the bibliographic page.

See that the note is not added.

Repeat these steps but find a bibliographic record in which the 500$a does not have any text. See that a note is added.*

Repeat these steps for the record in which the note was added. See that a second note is not added.

I tried other tags, such as adding a 655$a and was only able to add it one time and not a second time. In theory, the record should be able to have multiple 655$a.

I was able to add multiple 500$a notes and 655$a tags using the basic editor as normal.

I tested this on 23.05 and I could apply the same MARC modification template multiple times and add the note every time. 

*I was not able to replicate this consistently. On one site I was able to add the note and on another site the note was not added. The MARC modification templates and bibliographic frameworks were identical.The Frameworks had the 500$a enabled to show in the staff interface and editor.