[Zope-CMF] Renaming CMFSite

Dieter Maurer dieter@handshake.de
Thu, 22 May 2003 20:32:21 +0200

Bert Vanderbauwhede wrote at 2003-5-22 15:44 +0200:
 > This morning I renamed my CMF Site object, from RUGportal to portal. Now
 > it turns out that the Creator() method returns "Anonymous User" for every
 > CMF Document.
 > I checked the ownership for the documents with owner_info().
 > owner_info()["id"] was OK, but owner_info()["path"] returned
 > "RUGportal/acl_users" for every document. Is this the problem?

Almost surely.

 > If so, how
 > can I change this path?

Write an external method that visits all objects and fixes
the path component.