[Koha-bugs] [Bug 19164] Allow MARC modification templates to be used in staged MARC imports

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 18 12:34:00 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19164

Jon Knight <J.P.Knight at lboro.ac.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |Needs Signoff

--- Comment #8 from Jon Knight <J.P.Knight at lboro.ac.uk> ---
Test plan:

1) In the staff web client got to "Home › Tools › MARC modification templates"
and create a MARC Modification Template called "Test Bug 19164". Set the action
to be "Copy field 999$l to 998$l using RegEx s/NASH/FLASH/ if 999$l matches
NASH"

2) Download the test MARC record from this bug into a file called marc1.mrc
into your koha dev user's home directory.

3) Run misc/stage_file.pl with the command line:

   misc/stage_file.pl --file ~/marc1.mrc --add-items --marcmodtemplate "Test
Bug 19164" --item-action replace --comment "testing MARC mod templates on batch
staging"

4) In the staff client, go to Home › Tools › Manage staged MARC records and
check that the file is visible and in status "Staged"

5) Click on the filename to bring up details of the staged batch, and then
click on "Basic Christianity. Stott, John R. W. (0802811892)". Note that there
is a 998$l field with the value "FLASH" that has been created using the MARC
Modification Template.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list