[Zope-PTK] Current cvs PTK new portal ?addDiscussionItem argument shortage?

Ross Lazarus rerla@channing.harvard.edu
Wed, 31 Jan 2001 20:13:20 -0500


Just before I pop this into the collector, can anyone confirm that
trying to reply to a newsitem generates the following traceback? Zope
2.3.0 source on solaris, most recent cvs PTK, vanilla new portal.

             Zope Error

             Zope has encountered an error while publishing this
resource. 

             TypeError

             Sorry, a Zope error occurred.

             Traceback (innermost last):
               File /ilocal/zope230/lib/python/ZPublisher/Publish.py,
line 222, in publish_module
               File /ilocal/zope230/lib/python/ZPublisher/Publish.py,
line 187, in publish
               File /ilocal/zope230/lib/python/Zope/__init__.py, line
221, in zpublisher_exception_hook
                 (Object: test1)
               File /ilocal/zope230/lib/python/ZPublisher/Publish.py,
line 171, in publish
               File /ilocal/zope230/lib/python/ZPublisher/mapply.py,
line 160, in mapply
                 (Object: createReply)
               File /ilocal/zope230/lib/python/ZPublisher/Publish.py,
line 112, in call_object
                 (Object: createReply)
               File
/ilocal/zopeinstancehome/Products/PTKDemo/Discussions.py, line 124, in
createReply
                 (Object: test1)
               File
/ilocal/zopeinstancehome/Products/PTKDemo/DiscussionItem.py, line 107,
in addDiscussionItem
                 (Object: Traversable)
             TypeError: not enough arguments; expected 2, got 1