Skip Menu |
 

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

Report information
The Basics
Id: 53520
Status: new
Priority: 0/
Queue: DBIx-Class-ForceUTF8

People
Owner: Nobody in particular
Requestors: ribasushi@cpan.org (no email address)
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.0.2
Fixed in: (no value)



Subject: Next release of DBIC may cause update() malfunction when used with ForceUTF8
Based on the change [1], DBIC when used with your store_column implementation may misreport the state of dirty columns, which may result in too many or too few sql UPDATE calls. The base UTF8Columns was reworked in [2], to allow you to essentially change ForceUTF8 to the following:

Show quoted text
===========

package DBIx::Class::ForceUTF8;

use base qw/DBIx::Class::UTF8Columns/;

sub _is_utf8_column { 1 };

1;


Show quoted text
===========

This will avoid code duplication, and make future support much easier.

Cheers

[1] http://dev.catalyst.perl.org/svnweb/bast/revision/?rev=8253
[2] http://dev.catalyst.perl.org/svnweb/bast/revision?rev=8254


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.