[Bug 3463] New: Wide character in null operation for “Edit MARC Record”
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3463 Summary: Wide character in null operation for “Edit MARC Record” Product: Koha Version: rel_3_2 Platform: Other OS/Version: Linux - Redhat Status: NEW Severity: enhancement Priority: P3 Component: MARC Bibliographic data support AssignedTo: gmcharlt@gmail.com ReportedBy: quanzhong.zhang@xjtlu.edu.cn Estimated Hours: 0.0 Change sponsored?: --- I installed Koha 3.00.3 on CentOS 5.3(X86_64) and the database upgrade from Koha version 2.2.9 I try to check the function “Edit MARC Record”. It’s OK for English. But if the title include the Chinese character, the following error message display in browser production mode - trapped fatal error The error message in the log file /var/log/koha/koha-error_log as: [Thu Jul 23 10:36:17 2009] [error] [client 10.7.13.30] [Thu Jul 23 10:36:17 2009] addbiblio.pl: Wide character in null operation at /usr/lib/perl5/site_perl/5.8.8/MARC/Charset/Table.pm line 96, <DATA> line 532., referer: http://10.7.1.219:8080/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=64... Not found such problem for Edit “Patron Details” Thanks and Best Regards, -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3463 --- Comment #1 from Galen Charlton <gmcharlt@gmail.com> 2009-08-01 13:19:34 --- (In reply to comment #0)
I installed Koha 3.00.3 on CentOS 5.3(X86_64) and the database upgrade from Koha version 2.2.9 I try to check the function “Edit MARC Record”. It’s OK for English. But if the title include the Chinese character, the following error message display in browser
Could you paste in the specific character or characters that you tried this with Thanks! -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3463 --- Comment #2 from Galen Charlton <gmcharlt@gmail.com> 2009-08-01 13:20:23 --- (In reply to comment #1)
(In reply to comment #0)
I installed Koha 3.00.3 on CentOS 5.3(X86_64) and the database upgrade from Koha version 2.2.9 I try to check the function “Edit MARC Record”. It’s OK for English. But if the title include the Chinese character, the following error message display in browser
Could you paste in the specific character or characters that you tried this with Thanks!
To be clear, I mean adding the characters in question as a comment to this bug. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3463 --- Comment #3 from Zhang QZ <quanzhong.zhang@xjtlu.edu.cn> 2009-08-01 14:15:47 --- If I add the characters "测试中文" into title. The error message appears after click the button "Save". No problem for the same execution on the demo (version 3.01.00.037) "http://public-staff.demo.kohalibrary.com/" No problem for display if I update the characters "测试中文" into database koha directly. Thanks and Best Regards, Zhang QZ -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3463 Galen Charlton <gmcharlt@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Version|rel_3_2 |rel_3_0 --- Comment #4 from Galen Charlton <gmcharlt@gmail.com> 2009-08-01 14:40:02 --- (In reply to comment #3)
If I add the characters "测试中文" into title. The error message appears after click the button "Save".
No problem for the same execution on the demo (version 3.01.00.037) "http://public-staff.demo.kohalibrary.com/"
Thanks. I cannot reproduce the problem in HEAD (3.1), so I'm tagging this bug as rel_3_0 and will test in 3.0.x soon. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3463 --- Comment #5 from Galen Charlton <gmcharlt@gmail.com> 2009-08-01 14:41:19 --- What version of MARC::Charset do you have installed? You can get that by running perl -MMARC::Charset -e 'print $MARC::Charset::VERSION, "\n"'; from the sheel. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3463 Zhang QZ <quanzhong.zhang@xjtlu.edu.cn> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|rel_3_0 |rel_3_2 --- Comment #6 from Zhang QZ <quanzhong.zhang@xjtlu.edu.cn> 2009-08-02 06:42:14 --- The version is 1.1 # perl -MMARC::Charset -e 'print $MARC::Charset::VERSION, "\n"'; 1.1 -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3463 Magnus Enger <magnus@enger.priv.no> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |magnus@enger.priv.no --- Comment #7 from Magnus Enger <magnus@enger.priv.no> 2009-11-21 18:02:58 --- I think I have just grappled with (a version) of this bug. For me the solution lay in the leader (field 000), position 09, which needs to be set to "a" for Koha to interpret records as Unicode. I have fiddled with creating frameworks for NORMARC, and had set 000 to be non mandatory. In addition, position 09 is not actually defined in NORMARC. The "a" in position 09 was included in the default value for this field, and it was also being set "behind the scenes" when the value_builder was used. But since 000 was not mandatory, it was possible to save a record without selecting values for this field and hence without 09=a. If 245$a contained "Norwegian vowels" (æøå), this would lead to a correct value in biblio.title, but 245$a in biblioitems.marcxml would be corrupted. Koha would not complain at this stage, but when I tried to add an item, clicking on "Add an item" would generate the error "Wide character in null operation at /usr/local/share/perl/5.10.0/MARC/Charset/Table.pm line 96." Changing 000 position 09 from " " to "a" and correcting the garbled characters would result in a clean save, both of the record and the items. I guess this may not be applicable to all occurrences of this error, but checking that 000 position 09 is set to "a" may be worth a try when this problem is encountered. -- Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (2)
-
bugzilla-daemon@kohaorg.ec2.liblime.com -
bugzilla-daemon@liblime.com