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

--- Comment #19 from M. de Rooy <[email protected]> 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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to