[Koha-bugs] [Bug 5725] Batch modifications for Biblios

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 3 22:49:04 CEST 2011


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

--- Comment #41 from Paul Poulain <paul.poulain at biblibre.com> 2011-10-03 20:49:04 UTC ---
Owen, i've investigated, I think the problem is due to the fact that you tried
to set a value that is too short.
If you try to set a leader smaller than the official size, MARC::Record will
complain because he tries to set some values, that he can't. The line you've
got is :
    substr($self->{_leader},10,2) = '22';
MARC::Record tries to set 22 in position 10 and 11, and the string you've
submitted is probably less than 10, so the substr result in the message you
get.

We have two options :
* remove the 000
* specify in the doc (Nicole, it's for you !) that updating the leader must be
made carefully, with a full leader, some positions being ignored automatically
and set to the default MARC values (positions 0-4 with the length of the record
for example)

You preference ?

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list