[Zope-CMF] Discussions on Folderish content

Thomas Olsen tol@tanghus.dk
Wed, 16 Jan 2002 23:20:05 +0100


Hmm - I couldn't quite figure out what happened in DiscussionItem so my 
solution for now is to call parentsInThread(size=1)

On Tuesday 15 January 2002 00:46, Thomas Olsen wrote:
> The relevant part of the traceback is here (I have attached the entire
> traceback for reference.
>
>     (Object: aboveInThread)
>   File /home/tol/zope-2.5/lib/python/Products/CMFCore/FSPythonScript.py,
> line 115, in _exec
>     (Object: aboveInThread)
>     (Info: ({'script': <FSPythonScript instance at 8d20f18>, 'context':
> <DiscussionItem instance at 8b2d990>, 'container': <CMFSite instance at
> 912eeb8>, 'traverse_subpath': []}, (), {}, None))
>   File Script (Python), line 2, in aboveInThread
>     (Object: guarded_getitem)
>   File /home/tol/zope-2.5/lib/python/Products/CMFDefault/DiscussionItem.py,
> line 153, in parentsInThread
>     (Object: 1011047119)
> TALESError: Sorry, an error occurred
>
> Is this caused by having discussions on a folderish item or am I just plain
> stupid ;-)

-- 
Regards
Thomas Olsen

http://www.tanghus.dk