[Zope-CMF] Error when I allow discussions

Jan Ulrich Hasecke janulrich.hasecke@web.de
15 Oct 2001 09:56:02 +0200


Hi,

sorry for replying my own message, but I could not solve the problem
on my own.  Does nobody encountered the same error or is it a FAQ or a
known bug? Is there any pointer?

Jan Ulrich Hasecke <janulrich.hasecke@web.de> writes:

> Hi,
> 
> when I allow discussion in my Portal, I get the following error when I
> want to view discussable content, eg. a document.
> 
> On Zope 2.3.3 I had no problems. But now on Zope 2.4.1 (binary
> release, python 2.1, linux2-x86), python 2.1.0, linux2, CMF-1.1 I get
> this error:
> 
> Error Type: TypeError
> Error Value: hasReplies() takes exactly 2 arguments (1 given)
> 
> <!--
> Traceback (innermost last):
>   File /home/customers/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 223, in publish_module
>   File /home/customers/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 187, in publish
>   File /home/customers/Zope-2.4.1-linux2-x86/lib/python/Zope/__init__.py, line 226, in zpublisher_exception_hook
>     (Object: LockableItem)
>   File /home/customers/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 171, in publish
>   File /home/customers/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/mapply.py, line 160, in mapply
>     (Object: DynamicType)
>   File /home/customers/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/Publish.py, line 112, in call_object
>     (Object: DynamicType)
>   File /home/customers/instances/eza/Products/CMFCore/PortalContent.py, line 243, in __call__
>     (Object: DynamicType)
>   File /home/customers/instances/eza/Products/CMFCore/FSDTMLMethod.py, line 182, in __call__
>     (Object: RestrictedDTML)
>   File /home/customers/Zope-2.4.1-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 546, in __call__
>     (Object: RestrictedDTML)
>   File /home/customers/Zope-2.4.1-linux2-x86/lib/python/OFS/DTMLMethod.py, line 187, in __call__
>     (Object: viewThreadsAtBottom)
>   File /home/customers/Zope-2.4.1-linux2-x86/lib/python/DocumentTemplate/DT_String.py, line 546, in __call__
>     (Object: viewThreadsAtBottom)
>   File /home/customers/Zope-2.4.1-linux2-x86/lib/python/DocumentTemplate/DT_Util.py, line 231, in eval
>     (Object: talkback.hasReplies())
>     (Info: talkback)
>   File &lt;string&gt;, line 2, in f
>     (Object: guarded_getattr)
> TypeError: (see above)

-- 
Ohne Siegerjustiz wird das nichts
http://www.sudelbuch.de/2001/20010405.html