[Zope-CMF] Upgrading to CMF 1.2 error
Dieter Maurer
dieter@handshake.de
Tue, 23 Apr 2002 21:46:39 +0200
J.C.Mcnulty@open.ac.uk writes:
> I was wondering if someone could help me. I am running Zope 2.5.1b2 with CMF
> 1.1 (python 2.1). I want to upgrade to CMF 1.2 but when I do and try to
> publish an item I get the following error:
>
> Error Type: TypeError
> Error Value: hasReplies() takes exactly 2 arguments (1 given).
Apparently, someone gave "hasReplies" a (silly) second parameter.
The parameter is not used in the body and it makes "hasReplies" inconsistent
to "listReplies". Thus, it is really silly...
Either fix "hasReplies" or give it a second argument...
Dieter