Skip Menu |

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 54395
Status: resolved
Priority: 0/
Queue: DBIx-Class

People
Owner: Nobody in particular
Requestors: sumita12 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.08118



Subject: [PATCH] DBIx::Class::UTF8Columns doesn't decode value.
Date: Mon, 8 Feb 2010 09:42:16 +0900
To: bug-DBIx-Class [...] rt.cpan.org
From: Hiroshi Sumita <sumita12 [...] gmail.com>
Hello DBIx-Class comunity. I'm Hiroshi Sumita. I found a bug in DBIx::Class::UTF8Columns. Data is NOT decoded since _is_utf8_column function don't work well. This is Patch for DBIx/Class/UTF8Columns.pm ===============PATCH================= 117c117 < return (shift->utf8_columns || {})->{shift}; --- Show quoted text
> return (shift->utf8_columns || {})->{shift()};
===================================== ->{shift} is understood as ->{"shift"} by perl compiler. So we should replace it with ->{shift()} DBIx::Class : 0.08117 perl : v5.10.1 built for i386-freebsd-thread-multi-64int OS : FreeBSD 8.0-RELEASE-p2 i386 Best regards. -- -------------------------------------- Tokyo Institute of Technology Department of Electrical and Electronic Engineering Furuya / Miyamoto Laboratory Hiroshi Sumita sumita12@gmail.com --------------------------------------
Patch applied after slight modification. There should be a new release very soon (tonight?)
Fixed in 0.08118