[Catalyst] Catalyst patch

Matt S Trout dbix-class at trout.me.uk
Sat Aug 5 17:30:12 CEST 2006


Alan Humphrey wrote:
> Problem: Trying to use the Authentication::Store::DBIC plugin the wrong
> user_class kept getting loaded.  I specified Engoi::Model::Schema::Members
> and got Engoi::Model::Schema::MembersRoles.
> 
> Cause: The regex match in Catalyst::_comp_search returned on a successful
> partial match instead of only on a complete match.

Solution: Specify "Schema::Members" so it gets the right class in the first 
place. It shouldn't need to fall through to _comp_search.

Patches to make Auth::Store::DBIC provide more useful debugging info and error 
messages would be very welcome though.



More information about the Catalyst mailing list