Another PageTemplate bug

Chris Withers <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
Hi All,

If a PageTemplate's content type is set to text/plain, the edit form 
bombs out with:

2010-08-18 19:40:01 ERROR Zope.SiteErrorLog 1282156801.210.45371719052 
http://localhost:8080/index_html/pt_editAction
Traceback (innermost last):
   Module ZPublisher.Publish, line 127, in publish
   Module ZPublisher.mapply, line 77, in mapply
   Module ZPublisher.Publish, line 47, in call_object
   Module Products.PageTemplates.ZopePageTemplate, line 198, in 
pt_editAction
   Module Products.PageTemplates.ZopePageTemplate, line 163, in pt_edit
   Module Products.PageTemplates.utils, line 80, in convertToUnicode
TypeError: decoding Unicode is not supported

Has anyone else seen this?

cheers,

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
             - http://www.simplistix.co.uk

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.