[Zope-PTK] LoginManager wants PARENT_URL?
Phillip J. Eby
Thu, 13 Apr 2000 18:16:14 -0500
Looks like there's a bug in the message that tells you there's already a
user folder in the place you're trying to add one. You can't add a
LoginManager where an acl_users already exists, so delete the one you have
before you try to add one.
I don't know where the PARENT_URL thing came from; my guess is probably
it's cruft from copy-and-paste from UserFolder or GUF code. Ty or I will
look into it tomorrow. Meanwhile, don't try to add a LoginManager where
there's already some kind of UserFolder-ish thing, because even if the code
were right, all it would do is give you a friendlier error message. :)
At 05:44 PM 4/13/00 -0400, Dan L. Pierson wrote:
>When I try to add a LoginManager (under 2.1.4 or CVS) I get a KeyError
>for PARENT_URL. There is indeed a reference to REQUEST['PARENT_URL']
>in LoginManager.py, but I can't find any place that this is set.
>Grepping all of the CVS Zope sources doesn't find any other reference
>to it and it doesn't seem to be documented anywhere.
>No one else has complained about this so it must be something obvious
>I've missed, will some kind person please enlighten me?