[Zope] Cann't we use 'get' as object name in Zope 2.12 ?

Baiju M mbaiju at zeomega.com
Wed Jan 27 07:57:41 EST 2010


Hi,
    Any idea about this ?

>>> app.manage_addFolder('get')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/baiju/zesite/eggs/Zope2-2.12.1-py2.6-linux-i686.egg/OFS/Folder.py",
line 51, in manage_addFolder
    self._setObject(id, ob)
  File "/opt/baiju/zesite/eggs/Zope2-2.12.1-py2.6-linux-i686.egg/OFS/ObjectManager.py",
line 332, in _setObject
    v = self._checkId(id)
  File "/opt/baiju/zesite/eggs/Zope2-2.12.1-py2.6-linux-i686.egg/OFS/ObjectManager.py",
line 116, in checkValidId
    'The id "%s" is invalid - it is already in use.' % id)
zExceptions.BadRequest: The id "get" is invalid - it is already in use.

Regards,
Baiju M


More information about the Zope mailing list