I am getting this error "Deep recursion on subroutine "Storable::nfreeze" at /usr/local/share/perl5/DBIx/Class/ResultSourceHandle.pm line 95." in my debug output and then the connection is reset after the authentication while getting the user role with this sql:
SELECT role.role, user.id, user.username, role.id, role.role FROM user_role me JOIN users user ON user.id = me.user_id JOIN role role ON role.id = me.role_id WHERE ( user.username = ? ): 'ksmcl...@us.ibm.com' Geberated by this code: my $roles = $c->model('authdb::UserRole')->find( { 'user.username' => $username }, { prefetch => ['user', 'role'], columns => 'role.role', }); $c->session(role => $roles); It was working and then stopped. I had to change the model, I was using 'authdb::User' but the nested relationships in my prefetch quit working so I switched to the chid table. Both those relationships are 'belong_to'. I'm not sure what is going on.
_______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/