[jifty-devel] Status of Login plugin

Jesse Vincent jesse at bestpractical.com
Sun Feb 4 15:09:37 EST 2007


John, can you try the Object::Declare branch of Jifty::DBI? Clkao and audrey did a bunch of work that may get inheritance working much more as you'd expect.

jesse

------- Original message -------
From: John Peacock <jpeacock at rowman.com>
Sent: 1/7,  8:29

> John Peacock wrote:
> > Something in the deeply magical part of the Jifty code is messing up the
> > inheritance model and loading the first class ending in "User" instead of using
> > the correct class.
> 
> Nope, I'm just an idiot.  I've rediscovered that J::P::L::A::Signup::arguments
> is simply not designed to work as an inherited method, since it immediately
> calls $self->SUPER::arguments.  However, I am a little confused how to fix this,
> since the arguments() method is being called (by Jifty::Action line 135) on
> behalf of each field in the User model, but which field is being checked isn't
> being passed.  How is Signin supposed to get to the database fields themselves,
> without them being hard-coded?
> 
> John
> 
> -- 
> John Peacock
> Director of Information Research and Technology
> Rowman & Littlefield Publishing Group
> 4501 Forbes Blvd
> Suite H
> Lanham, MD 20706
> 301-459-3366 x.5010
> fax 301-429-5747
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
> 



More information about the jifty-devel mailing list