I'm wondering if I've found a bug in the recently-announced PageContract product... I'm running Zope 2.3.0 on Red Hat 6.2, using Python 2.0 - which may, IIRC, be more picky about certain things you could get away with in 1.5? If I use the example from the announcement email:
<dtml-contract> this method changes the myint property of this object <dtml-params> myint:integer <dtml-exception> error_page </dtml-contract>
Results in: Error Type: TypeError Error Value: keyword parameter redefined: mapping Traceback (innermost last): File /usr/local/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope-2.3.0-src/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope-2.3.0-src/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: index_html) File /usr/local/Zope-2.3.0-src/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: index_html) File /usr/local/Zope-2.3.0-src/lib/python/OFS/DTMLMethod.py, line 189, in __call__ (Object: index_html) File /usr/local/Zope-2.3.0-src/lib/python/DocumentTemplate/DT_String.py, line 538, in __call__ (Object: index_html) File /usr/local/zope/lib/python/Products/PageContract/PageContractTag.py, line 148, in render File /usr/local/Zope-2.3.0-src/lib/python/OFS/DTMLMethod.py, line 182, in __call__ (Object: error_page) TypeError: (see above) ? -Andy -- Andy Gimblett <andy.gimblett@ftech.net> Programmer Frontier Internet Services Limited <www.frontier-internet.ltd.uk> Tel: 029 20 820 044 Fax: 029 20 820 035 Statements made are at all times subject to Frontier's Terms and Conditions of Business, which are available upon request.
participants (1)
-
Andy Gimblett