[ZWeb] Problems with /acl_users
Martijn Pieters
mj@digicool.com
Tue, 26 Sep 2000 20:04:38 +0200
On Tue, Sep 26, 2000 at 12:07:52PM -0400, Shane Hathaway wrote:
> FYI Here's a transcript of my session. It's now converted to
> use the "full" BTreeFolder. BTreeFolder has a special method
> that lets you replace any folder, _replaceFolder.
>
> [shane@zope2 python]$ sudo python
> Password:
> Python 1.5.2 (#1, Sep 17 1999, 20:15:36) [GCC egcs-2.91.66 19990314/Linux
> (egcs
> - on linux-i386
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> import ZServer, Zope
> >>> app = Zope.app()
> >>> from Products.BTreeFolder.BTreeFolder import _replaceFolder
> >>> _replaceFolder(app, 'Members', type='full')
> >>> app.Members
> <BTreeFolder instance at 8569d38>
> >>> len(app.Members._tree)
> 11117
> >>> get_transaction().commit()
>
> Then I moved the appropriate DTML and EM objects back into the Members
> folder.
Thanks Shane!
--
Martijn Pieters
| Software Engineer mailto:mj@digicool.com
| Digital Creations http://www.digicool.com/
| Creators of Zope http://www.zope.org/
---------------------------------------------