[Zope-dev] Another PageTemplate bug

Chris Withers chris at simplistix.co.uk
Wed Aug 18 14:41:18 EDT 2010


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



More information about the Zope-Dev mailing list