Skip Menu |

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

Report information
The Basics
Id: 74932
Status: resolved
Worked: 32 min
Priority: 0/
Queue: DBIx-Class-InflateColumn-Serializer

People
Owner: MRUIZ [...] cpan.org
Requestors: andreas.marienborg [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.03
Fixed in: 0.05



Subject: Must inherit from DBIx::Class
The Serializer compoent must inherit from DBIx::Class: use base 'DBIx::Class'; Without that, the order of methods will not resolve the way DBIC expects them to. This results in weird bugs where the order of components matter. I found the bug with __PACKAGE__->load_components(qw/Core InflateColumn::DateTime InflateColumn::Serializer /); This resulted in datetime columns behaving like they should, while serializer didn't. switching the order around to __PACKAGE__->load_components(qw/Core InflateColumn::Serializer InflateColumn::DateTime /); made both work, but this is not the right fix long term. Order should not matter
Hi Andreas, Couldn't reproduce the reported issue. Could you provide a test to show me how to make it fail? It's been a while since you opened the bug (sorry for that), is still failing with the last versions of DBIC? Best regards, Miquel Ruiz
I'm unable to reproduce this with the latest DBIx::Class, so I'm guessing it is no longer relevant :)
Ok, I'm closing the ticket, then ;) Thanks! Miquel Ruiz