[Zope-CMF] Zope or CMF bug?
Chris Withers
chrisw@nipltd.com
Tue, 10 Jul 2001 10:49:46 +0100
My defautl view method didn't exist, so I got a weird error:
File E:\Zope\current\Products\CMFCore\PortalContent.py, line 220, in
_getDefaultView
(Object: DynamicType)
File E:\Zope\2379B4~1.2\lib\python\OFS\Traversable.py, line 223, in
restrictedTraverse
(Object: DynamicType)
File E:\Zope\2379B4~1.2\lib\python\OFS\Traversable.py, line 208, in
unrestrictedTraverse
(Object: DynamicType)
AttributeError: __getitem__
Is this a Zope bug or a CMF bug?
I guess it's a Zope bug if whatever is looking for __getitem__ should handle the
case when its not there (I reckon this is the case ;-) and it'd be a CMF bug if
portal content should always supply a __getitem__ method...
what do other people think?
Chris