Another untrapped marc_export warning

Bug #1528596 reported by Jason Stephenson
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

Evergreen 2.7.1+
OpenSRF: N/A
PostgreSQL: N/A

When exporting records with item information via the command line marc_export script, a record with a bad tag will produce a warning like the following:

Argument "The" isn't numeric in integer division (/) at /usr/share/perl5/MARC/ line 407.

Where "The" would be whatever the non-numeric tag value is. My example just happened to have a tag of The.

After applying the branch (to follow), you get a more useful message of:

Warning from bibliographic record 1635630: Argument "The" isn't numeric in integer division (/) at /usr/share/perl5/MARC/ line 407.

Revision history for this message
Jason Stephenson (jstephenson) wrote :
tags: added: export marc warning
tags: added: pullrequest
Changed in evergreen:
milestone: none →
Revision history for this message
Ben Shum (bshum) wrote :

Seems fine, picked to master.

Probably needs to add a release note for this marc_export change and also which is related marc_export error trapping changes coming for 2.10.

Changed in evergreen:
milestone: → 2.10-beta
status: New → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.