[Koha-bugs] [Bug 3264] Uncloning a dropdown list in MARC authorities/biblio editor may clear all subfields (see comment 17)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 6 12:11:21 CET 2012


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

--- Comment #19 from M. de Rooy <m.de.rooy at rijksmuseum.nl> 2012-02-06 11:11:21 UTC ---
I debugged the code again to show what happens:

[Mon Feb 06 11:42:05 2012] [error] [client 192.87.126.61] [Mon Feb  6 11:42:05
2012] addbiblio.pl: XX3: tag_700_code_b_218275_335975
tag_700_subfield_b_218275_335975 at /usr/share/koha/testclone/C4/Biblio.pm line
2186., referer:
http://libdevelop.rijksmuseum.nl:8009/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=144200&amp;amp;op=
[Mon Feb 06 11:42:05 2012] [error] [client 192.87.126.61] [Mon Feb  6 11:42:05
2012] addbiblio.pl: XX3: tag_700_code_d_218275_950598
tag_700_subfield_d_218275_950598 at /usr/share/koha/testclone/C4/Biblio.pm line
2186., referer:
http://libdevelop.rijksmuseum.nl:8009/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=144200&amp;amp;op=
[Mon Feb 06 11:42:05 2012] [error] [client 192.87.126.61] [Mon Feb  6 11:42:05
2012] addbiblio.pl: XX3: tag_700_code_4_218275_815299
tag_700_code_9_218275_680813 at /usr/share/koha/testclone/C4/Biblio.pm line
2186., referer:
http://libdevelop.rijksmuseum.nl:8009/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=144200&amp;amp;op=
[Mon Feb 06 11:42:05 2012] [error] [client 192.87.126.61] [Mon Feb  6 11:42:05
2012] addbiblio.pl: XX4: Leaving while at
/usr/share/koha/testclone/C4/Biblio.pm line 2199., referer:
http://libdevelop.rijksmuseum.nl:8009/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=144200&amp;amp;op=

As you can see, code b is followed by subfield b. That's fine. Code d fine too.
But code 4 is immediately followed by code 9! The uncloned subfield 4 is not in
the params array!! [[After UncloneField set the selectedIndex to -1, the
corresponding parameter does not reach TransformHtmlToMarc; the browser does
not pass it or CGI does ignore it.]] After code 4 the script exits the while
loop, skipping remaining subfields.

-- 
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