Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: dorian [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 0.06000
  • 0.06001
Fixed in: (no value)



Subject: comparison problems with overloading in inflated columns
Download (untitled) / with headers
text/plain 692b
There is a problem with DBIx::Class::Row::set_column (line 220) in the comparison of old and new values for setting "dirty" columns. In the case that an inflated value is present, the string comparison that occurs on line 221 will fail if one or both of the objects being compared are not deflated. The comparison will fail silently if both objects are inflated as they will point to different references, which will get stringified. The comparison will fail fatally if the inflated object has a string comparison overload method which is not equipped to handle mismatched types. The attached patch fixes the latter scenario, but more investigation is required for a solution to the former.
Subject: dbix-class-diff
Download dbix-class-diff
application/octet-stream 1.4k

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 385b
On Sat Apr 15 04:49:53 2006, DORIAN wrote: Show quoted text
> There is a problem with DBIx::Class::Row::set_column (line 220) in the > comparison of old and new values for setting "dirty" columns. In the > case that an inflated value is present, the string comparison that > occurs on line 221 will fail if one or both of the objects being > compared are not deflated.
Should all work fine as of 07000


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.