Submitted by : Simon Michael at: 2005-05-12T09:30:41+00:00 (12 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

(new) TypeError? when saving a moin page with comments --Simon Michael, Thu, 12 May 2005 09:30:43 -0700 reply

This error was observed when saving http://www.ubuntulinux.org/wiki/InstallOnOldWorldMacs:

* Module Products.ZWiki.Editing, line 271, in edit
* Module Products.ZWiki.Editing, line 322, in handleEditPageType
* Module Products.ZWiki.ZWikiPage, line 260, in preRender
* Module Products.ZWiki.pagetypes.moin, line 20, in preRender
* Module Products.ZWiki.pagetypes.common, line 91, in preRenderMessages
* Module Products.ZWiki.pagetypes.common, line 99, in preRenderMessage
* Module Products.ZWiki.pagetypes.common, line 119, in
addCommentHeadingTo
  • Module Products.ZWiki.pagetypes.common, line 128, in
makeCommentHeading
TypeError?: cannot concatenate 'str' and 'NoneType?' objects

fixed for 0.42 --simon, Thu, 12 May 2005 10:01:43 -0700 reply

Category: => user-editing Severity: => serious Status: => closed

This was caused by random html markup added to the comments' source, causing date to be parsed as None, which we now check for.