This queue is for tickets about the Catalyst-Plugin-Authentication CPAN distribution.

Report information
The Basics

Nobody in particular
ANDK [...]
catalyst3 [...]

Broken in:
(no value)
Fixed in:
(no value)

Subject: C:P:At 0.10003 breaks C:P:Az:Roles
Since the upload of JAYK/Catalyst-Plugin-Authentication-0.10003.tar.gz which does not contain the module Catalyst::Plugin::Authentication::User::Hash anymore the tests for NUFFIN/Catalyst-Plugin-Authorization-Roles-0.05.tar.gz fail with t/hash_user..........Can't locate Catalyst/Plugin/Authentication/User/ in @INC (@INC contains: /home/sand/.cpan/build/Catalyst-Plugin-Authorization-Roles-0.05-lCQena/blib/lib /home/sand/.cpan/build/Catalyst-Plugin-Authorization-Roles-0.05-lCQena/blib/arch /home/src/perl/repoperls/installed-perls/perl/pahRyz3/perl-5.8.0@32562/lib/5.10.0/i686-linux /home/src/perl/repoperls/installed-perls/perl/pahRyz3/perl-5.8.0@32562/lib/5.10.0 /home/src/perl/repoperls/installed-perls/perl/pahRyz3/perl-5.8.0@32562/lib/site_perl/5.10.0/i686-linux /home/src/perl/repoperls/installed-perls/perl/pahRyz3/perl-5.8.0@32562/lib/site_perl/5.10.0 .) at t/hash_user.t line 9. BEGIN failed--compilation aborted at t/hash_user.t line 9. # Looks like your test died before it could output anything. Dubious, test returned 255 (wstat 65280, 0xff00) I have no idea which side breaks a contract, I'm just a cpan smoker but I do hope this observation helps somebody. Thanks,
I just discovered: also affected MRAMBERG/Catalyst-Plugin-Authentication-Store-DBIC-0.09.tar.gz
It also breaks Catalyst-Plugin-Authentication-Store-DBIx-Class-0.10. Many errors like this in the test output: [warn] Store class "Catalyst::Authentication::Store::DBIx::Class" not found, trying deprecated ::Plugin:: style naming. [error] Caught exception in TestApp->user_login "Can't locate object method "auth_realm" via package "TestApp::Model::TestApp::User" at ../lib/Catalyst/Plugin/Authentication/Store/DBIx/Class/ line 176."
Subject: Incompatibility of 0.10004 with C:P:Authorization::Roles
Date: Fri, 11 Jan 2008 18:12:59 +0100
From: Bernhard Graf <>
Probably related to C:P:Authorization::Roles::assert_user_roles() and C:P:Authorization::Roles::check_user_roles() always fail with C:P:Authentication 0.10004 when given the $user as first argument. Documentation of C:P:Authorization::Roles: assert_user_roles [ $user ], @roles Checks that the user (as supplied by the first argument, or, if omitted, $c->user) has the specified roles. The check if the first argument is a user is done with: if ( Scalar::Util::blessed( $roles[0] ) && $roles[0]->isa("Catalyst::Plugin::Authentication::User") ) This fails with 0.10004, because $user->isa("Catalyst::Authentication::User")
This ticket seems to include 3 separate issues. I will address it as much as I can. The original problem - missing has been corrected since 0.10004. The second problem:
Show quoted text
> [warn] Store class "Catalyst::Authentication::Store::DBIx::Class" not > found, trying deprecated ::Plugin:: style naming.
was caused by a missing plugin on the install. With the recent release (0.10007) this error message is more clear. So this has been resolved also. Finally the third problem:
Show quoted text
> if ( Scalar::Util::blessed( $roles[0] ) > && $roles[0]->isa("Catalyst::Plugin::Authentication::User") ) > This fails with 0.10004, because > $user->isa("Catalyst::Authentication::User")
actually requires an update to the roles module, and should probably be filed there. Jay

This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with to