[Koha-bugs] [Bug 8015] Add MARC Modifications Templates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 23 00:56:11 CEST 2013


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

--- Comment #180 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Test report

1)OK
Staging, importing, reverting and cleaning using
- stage_file.pl and commit_file.pl
- Stage and Staged MARC record management tools

2) (normal)
Saving an empty action - fil

3) (minor)
Feedback about mandatory fields not quite standard

4) (major)
Rule: Copy 650 to 689 - no subfields entered
[Wed Oct 23 00:07:58 2013] [error...] [client 127.0.0.1] [Wed Oct 23 00:07:58
2013] stage-marc-import.pl: data() is only for control fields (generally, just
tags below 010) , use subfield() at /home/katrin/koha/Koha/SimpleMARC.pm line
188, referer: http://staff.master/cgi-bin/koha/tools/stage-marc-import.pl
No feedback in the interface, we should make sure people know that
whole fields can't be copied.
Maybe subfield should be required to, if it's not a controlfield (Note:
controlfields are different for MARC21 and UNIMARC)

5) (?)
Rule: Copy 650 a to 689 a
Works, but 689 does not exist in my framework - should this be possible?

6) OK
Rule: Add/Update 952 $a CPL
      Add/Update 952 $b CPL
      Add/Update 952 $y BK
Adds items, works nicely

7) OK
Rule: Copy 245 $a to 500 $a Regex: s/e/foo
Intfoormfoodiatfoo Pfoorl - Works nicely.

8) (normal)
Also: Lots of messages in the logs
[Wed Oct 23 00:09:46 2013] [error] [client 127.0.0.1] [Wed Oct 23 00:09:46
2013] marc_modification_templates.pl: Use of uninitialized value in string eq
at /home/katrin/koha/tools/marc_modification_templates.pl line 70., referer:
http://staff.master/cgi-bin/koha/tools/marc_modification_templates.pl
[Wed Oct 23 00:10:06 2013] [error] [client 127.0.0.1] [Wed Oct 23 00:10:06
2013] stage-marc-import.pl: Use of uninitialized value $template_id in string
eq at /home/katrin/koha/C4/MarcModificationTemplates.pm line 84., referer:
http://staff.master/cgi-bin/koha/tools/stage-marc-import.pl

X) Possible enhancements:
- Allow applying of modification templates on staged and maybe also
  imported records
- Warn people from deleting mandatory fields and subfields
- The Add/Update option should have a regex - Ex. set serial flag on LDR

Other problems found:
- Staging MARC records uploads without selecting a file first

Note to myself:
File a bug about translation issues coursed logic in templates (building
sentences)

Kyle, can you please take a look? *hides*

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


More information about the Koha-bugs mailing list