[Bug 12638] New: UTF-8 support; C4::Members::AttributeTypes::GetAttributeTypes_hashref should be rewrite
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12638 Bug ID: 12638 Summary: UTF-8 support; C4::Members::AttributeTypes::GetAttributeTypes_hashref should be rewrite Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: gmcharlt@gmail.com Reporter: z.tajoli@cineca.it QA Contact: testopia@bugs.koha-community.org If I create a new authorised values list, I use it in Patron attribute types and in the Patron attribute type code I insert something like 'λλλ', those special chars create problems to C4::Members::AttributeTypes::GetAttributeTypes_hashref. You can see the problem settinf an new authorised values list, use it in a new Patron attribute type and as code in Patron attribute type code use 'λλλ'. Then go to Tool -> Patron lists and create a list After go to Tool -> Batch patron modification and try to use the list that you have create to configure a change in patron. This errot it will block you: Software error: Can't call method "authorised_value_category" on an undefined value at /home/koha/src/tools/modborrowers.pl line 109. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12638 Zeno Tajoli <z.tajoli@cineca.it> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=11944 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12638 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |jonathan.druart@biblibre.co | |m Assignee|gmcharlt@gmail.com |jonathan.druart@biblibre.co | |m --- Comment #1 from Jonathan Druart <jonathan.druart@biblibre.com> --- Should be fixed by bug 11944 comment 208. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12638 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW See Also|http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=11944 | Assignee|jonathan.druart@biblibre.co |gmcharlt@gmail.com |m | --- Comment #2 from Jonathan Druart <jonathan.druart@biblibre.com> --- (In reply to Jonathan Druart from comment #1)
Should be fixed by bug 11944 comment 208.
No, it is not fixed. But it seems to come from the Perl version. The sandboxes are using Perl v5.10, and I use Perl v.5.18. The issue occurs on sandboxes using the master branch. So I consider it is not introduced by bug 11944 and should not be blocker. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12638 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=12650 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12638 --- Comment #3 from Jonathan Druart <jonathan.druart@biblibre.com> --- Given the following script: test.pl #!/usr/bin/perl use Modern::Perl; use Data::Dumper; my $h = {id=>'λλλ', description=>'λλλ'}; warn Dumper $h; 1/ With perl v.5.10 a) perl test.pl $VAR1 = { 'description' => 'λλλ', 'id' => 'λλλ' }; b) cgi-bin/koha/test.pl displays in the Koha logs: $VAR1 = { 'id' => '\xce\xbb\xce\xbb\xce\xbb', 'description' => '\xce\xbb\xce\xbb\xce\xbb' }; 2/ With perl v.5.18 a) perl test.pl $VAR1 = { 'description' => 'λλλ', 'id' => 'λλλ' }; b) cgi-bin/koha/test.pl displays in the Koha logs: $VAR1 = { 'description' => 'λλλ', 'id' => 'λλλ' }; -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12638 --- Comment #4 from Jonathan Druart <jonathan.druart@biblibre.com> --- (In reply to Jonathan Druart from comment #3) I didn't test on the same machine, so it could be something else. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org