Am 26.06.2010, 20:33 Uhr, schrieb Hanno Schlichting <ha...@hannosch.eu>:

> Indeed. This will need an upgrade step and the registration needs to
> be conditional on the Zope version.

hm, one of these days I'll get round to writing an upgrade set!

> Zope 2 itself takes care of the root acl_users folder and has inline
> migration code for that. In Plone's case all user folders are custom
> classes. I also looked at PAS and LDAPUserFolder which use custom
> classes as well. So none of these need special care, it's just anyone
> using the stock UserFolder class outside the root that needs to do
> some application specific migration.

The only place I've noticed it triggering is the first time login/logout  
is called. The error is actually raise by App/ClassFactory:

/Users/charlieclark/Sites/cmf-svn/CMF.buildout/trunk/src/Zope2/src/Zope2/App/ClassFactory.py:23:
  
DeprecationWarning: UserFolder is deprecated. User folders are no longer  
part of AccessControl, please depend on Zope2 and import from  
OFS.userfolder or use the new minimal user folder classes from  
AccessControl.userfolder.
   return getattr(m, name)

Where m is AccessControl.User and name UserFolder

I can't find the corresponding call to that anywhere but I noticed some  
other calls to AccessControl.User such as for nobody. Actually, there seem  
to be quite a few nobodies around. Up to no good, no doubt!

Charlie
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
_______________________________________________
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Reply via email to