[Koha-bugs] [Bug 3264] UnCloneField() / minus button in MARC editor can clear all subfields (authorities AND biblio)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 19 10:56:48 CET 2012


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

--- Comment #7 from M. de Rooy <m.de.rooy at rijksmuseum.nl> 2012-01-19 09:56:48 UTC ---
Created attachment 7245
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7245
Patch

All subfields following the removed subfield were not saved.
Problem is in C4/Biblio routine TransformHtmlToMarc.
If the field is emptied, the param list contains a code param but no subfield
param. The while loop handling the subfields could not handle that.
Also added a FIXME because the whole routine depends on an assumption about the
order of cgi parameters that is not strictly guaranteed.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list