[jifty-devel] possible problem with login plugin

John Peacock jpeacock at rowman.com
Fri Jul 14 20:33:22 EDT 2006


bart at urnet.com.au wrote:
> DEBUG - Handling template /__jifty/admin/index.html
> WARN - Warning: Use of "CORE" without parentheses is ambiguous at (eval 495) line 1.
> 
> WARN - Warning: Use of "CORE" without parentheses is ambiguous at (eval 514) line 1.

I don't see those two when I run it; are you using a completely up-to-date
Jifty?  What version of Perl are you running?

> WARN - Can't locate object method "autogenerated" via package "Jifty::Plugin::Login::Action::RecoverPassword" at /usr/local/share/perl/5.8.8/auto/Jifty/web/templates/__jifty/admin/index.html line 54.

Yeah, you stumbled into the thicket of "John hasn't finished this yet" stuff.
Problem number one is that the package names must match the filenames (since
Jifty autoloads the actions based on the _filenames_).  Problem number two is
that I hadn't tested anything other than the base functionality of the Login
code (basically just Login/Logout/Signup), so I didn't notice that the other
files were inconsistent.

I've checked in code which will prevent the "autogenerated" code from being a
problem and hopefully RSN I'll finish up the RecoverPassword, ResetLostPassword,
and SendPasswordReminder functionality.

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


More information about the jifty-devel mailing list