[Koha-bugs] [Bug 27461] Fix field 008 length below 40 positions in cataloguing plugin

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 19 15:55:39 CEST 2021


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

--- Comment #5 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Phil Ringnalda from comment #4)

> Inconveniently, you can't just pad with either pipes or the remaining
> characters from our default blindly, since filling position 35-39 with pipes
> is just fine, but filling position 36-39 is invalid, since "e||" is not a
> valid language code. So it's an awkward case of length 6-7 you can pad, 8-11
> you have to truncate to 7 and pad, 12 you can pad, 13-15 you have to
> truncate to 12 and pad, etc.

Phil.
I added a proposal to right pad with characters from the default from the last
complete data element onwards.
Viewing block 18-34 as one element, since it depends on material type.

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


More information about the Koha-bugs mailing list