[Setup] Re: Is it OK to have Members folder type ATFolder not ATBTreeFolder in Plone 2.1.2?

Harri Alstelain harri.alstelain at hotmail.com.invalid
Tue Jan 31 16:35:59 UTC 2006


> Tue, 31 Jan 2006 14:51:52 +0000, Nick Davis kirjoitti:
>> On your 2.0.x site, run zopectl debug then run mysite =app.uol
>> mysite.portal_types['Large Plone
>> Folder']._finishConstruction(mysite.Members) get_transaction().commit()
 
A bit better?

[root at devserver plone2]# client1/bin/zopectl debug Starting debugger \
(the name "app" is bound to the top-level Zope object)
>>> mysite=app.sitename
>>> mysite.portal_types['Large Plone
>>> Folder']._finishConstruction(mysite.Members)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/var/lib/plone2/z2.7.6-p2.3.5/lib/python/OFS/ObjectManager.py", \
  line 670, in __getitem__
    raise KeyError, key
KeyError: 'Large Plone Folder'
>>>


Harri





More information about the Setup mailing list