SV: [Zope-CMF] Weird Error

Magnus Heino magnus.heino@pleon.sigma.se
Fri, 8 Mar 2002 14:12:05 +0100


> > > > Type:exceptions.AttributeError
> > > > Value:'None' object has no attribute '__of__'
> >
> > So the wrapUser method is being passed None instead of a user object,
> > which should never happen as far as I can see.  How's it being called?
> > Can you get a call stack?
>
> Only happened once.
>
> Dunno if I can reproduce it.
>
> I suspect it has something to with the fact I was logged in us a
> user from an acl_users
> above the Portal, and, checking, that user isn't in the portal's
> acl_users.
>
> Do I smell a bug?

You get this if you have activated the "Control creation of member areas"
feature of portal_membership, and login as a user without a member area,
that is, a user defined in an acl_users above the portal.

It has been there for as long as I can remember, so I thought it should be
that way? :)

/Magnus