Skip Menu |

This queue is for tickets about the Catalyst-Model-DBIC-Schema CPAN distribution.

Report information
The Basics
Id: 88327
Status: open
Priority: 0/
Queue: Catalyst-Model-DBIC-Schema

Owner: Nobody in particular
Requestors: mods [...]

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

Subject: Catalyst::TraitFor::Model::DBIC::Schema::Replicated is missing coerce on pool_type
has pool_type => (is => 'ro', isa => LoadedClass); Needs coerce => 1.
Download (untitled) / with headers
text/plain 146b
Thanks for the report. This has been fixed as part of the work to remove usage of Class::MOP::load_class() in version 0.62, just uploaded to CPAN.
Download (untitled) / with headers
text/plain 466b
This broke again in 0.64 here in lib/Catalyst/TraitFor/Model/DBIC/Schema/ here: -has pool_type => (is => 'ro', isa => LoadableClass); +# If you change LoadedClass with LoadableClass I will rip you a new hole, +# it doesn't work exactly the same - JNAP + +has pool_type => (is => 'ro', isa => LoadedClass); Apparently "LoadableClass" doesn't need coerce => 1, but LoadedClass does. That is' pool_type isn't coercing a class name into a loaded class.

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

Please report any issues with to