[jifty-devel] Login Plugin question

John Peacock jpeacock at rowman.com
Wed Jul 19 21:55:22 EDT 2006

bart at bunting.net.au wrote:
> WARN - Can't locate object method "number" via package "Jifty::Plugin::Login::Model::User" at /usr/local/share/perl/5.8.8/Jifty/Action/Record.pm line 139.

If I change the Person class to inherit from Jifty::Record (or rather
APPLICATION::Record), that error changes to

WARN - number!!update isn't a valid field for
WARN - Use of uninitialized value in join or string at
/home/jpeacock/tmp/MyWeblog/share/web/templates/signup line 13.

and if I ignore the warning and try and create a user anyways, I see:

WARN - DBD::SQLite::st execute failed: people.number may not be NULL(1) at
dbdimp.c line 398 at /usr/lib/perl5/site_perl/5.8.7/Jifty/DBI/Handle.pm line 458.

which shows that it is targeting the correct table.  I've narrowed it down to
the fact that Jifty::Plugin::Login::Action::Signup::arguments cleanses the
arguments of all but the base four.  You are calling that via SUPER in your own
Signup.pm, so that would explain why you can't see any additional arguments.

However, what I haven't worked out is what to do about it... :(


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

More information about the jifty-devel mailing list