Submitted by : simon at: 2003-10-26T21:32:35+00:00 (14 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Attempting to save ZWiki as STX+DTML gives this traceback right now:

 Traceback (innermost last):
  File /usr/local/zope/software/lib/python/ZPublisher/Publish.py, line 98, in publish
  File /usr/local/zope/software/lib/python/ZPublisher/mapply.py, line 88, in mapply
    (Object: ZWiki)
  File /usr/local/zope/software/lib/python/ZPublisher/Publish.py, line 39, in call_object
    (Object: ZWiki)
  File /usr/local/zope/instance/Products/ZWiki/ZWikiPage.py, line 273, in __call__
    (Object: ZWiki)
  File /usr/local/zope/instance/Products/ZWiki/ZWikiPage.py, line 286, in render
    (Object: ZWiki)
  File /usr/local/zope/instance/Products/ZWiki/ZWikiPage.py, line 371, in render_msgstxprelinkdtmlfitissuehtml
    (Object: ZWiki)
  File /usr/local/zope/software/lib/python/OFS/DTMLDocument.py, line 131, in __call__
    (Object: ZWiki)
  File /usr/local/zope/software/lib/python/DocumentTemplate/DT_String.py, line 474, in __call__
    (Object: ZWiki)
  File /usr/local/zope/2.6.1/lib/python/DocumentTemplate/DT_In.py, line 705, in renderwob
    (Object: pageNames)
  File /usr/local/zope/software/lib/python/DocumentTemplate/DT_Util.py, line 201, in eval
    (Object: x_sequence_item[-7:]=='Roadmap')
    (Info: x_sequence_item)
  File <string>, line 2, in f
  File /usr/local/zope/software/lib/python/AccessControl/DTML.py, line 32, in guarded_getitem
    (Object: ZWiki)
  File /usr/local/zope/software/lib/python/AccessControl/ZopeGuards.py, line 85, in guarded_getitem
    (Object: title_or_id)
 TypeError: unsliceable object


comments:

fixed for 0.22 --SimonMichael, Tue, 02 Sep 2003 13:03:34 -0700 reply
The pageNames method was broken since going from title_or_id to Title as the preferred cataloged field. Fixed, but there are more cases like this. We'll recommend cataloging both title_or_id and Title for this release.

property change --SimonMichael, Tue, 02 Sep 2003 13:03:48 -0700 reply
Status: open => closed

property change --SimonMichael, Tue, 02 Sep 2003 13:06:02 -0700 reply
Title: IssueNo0596 ZWiki page is broken => IssueNo0596 some page name lists showing "Catalog" or other Severity: serious => normal Status: closed => open

backlinks --SimonMichael, Tue, 02 Sep 2003 13:09:48 -0700 reply
The default backlinks templates also used title_or_id - fixed for 0.22.

property change --SimonMichael, Thu, 18 Sep 2003 16:09:51 -0700 reply
Status: open => closed