Skip Menu |

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

Report information
The Basics
Id: 56983
Status: resolved
Priority: 0/
Queue: Catalyst-Authentication-Store-LDAP

People
Owner: karman [...] cpan.org
Requestors: bo [...] startsiden.no
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.008
Fixed in: (no value)



Hi, I want to subclass Catalyst::Authentication::Store::LDAP::User as you have described, but I have encountered something that might be a bug. This is the fix I am using to ensure I always get the catalyst-app, to my new function: --- /Library/Perl/5.8.8/Catalyst/Authentication/Store/LDAP/Backend.pm 2010-04-03 04:56:34.000000000 +0200 +++ lib/Catalyst/Authentication/Store/LDAP/Backend.pm 2010-04-27 20:05:53.000000000 +0200 @@ -437,7 +437,7 @@ sub from_session { my ( $self, $c, $id ) = @_; - $self->get_user($id); + $self->get_user($id, $c); } 1;
Thanks. Patch applied in r13184 at http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Authentication-Store-LDAP/trunk Please confirm that does what you expect and I can release 1.009 to cpan.
On Tue Apr 27 23:36:35 2010, KARMAN wrote: Show quoted text
> Thanks. Patch applied in r13184 at > http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Authentication- > Store-LDAP/trunk > > Please confirm that does what you expect and I can release 1.009 to > cpan.
I also subClassed User, and came to the same problem with session. I patched by hand the same way you listed above. And now my sub-class is functioning perfectly. When can we see a updated version on CPAN. This will makes sure my application is portable in the future.
I've just shipped version 1.009 to CPAN which corrects this issue. Many thanks for the bug report.