Ticket #13088 (confirmed Bug)

Opened 4 years ago

Last modified 4 years ago

text/calendar mimetype TypeError: decoding Unicode is not supported

Reported by: dreweso@… Owned by:
Priority: minor Milestone: 4.x
Component: General Version: 4.1
Keywords: mimetype, templates, typeerror Cc:

Description (last modified by kleist) (diff)

2012-08-02 11:21:45 ERROR Zope.SiteErrorLog 1343899305.350.391165246793 http://xxx/HRZTest410/portal_skins/custom/ics_template/pt_editAction
Traceback (innermost last):
  Module ZPublisher.Publish, line 126, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module Products.PageTemplates.ZopePageTemplate, line 197, in pt_editAction
  Module Products.PageTemplates.ZopePageTemplate, line 162, in pt_edit
  Module Products.PageTemplates.utils, line 77, in convertToUnicode
TypeError: decoding Unicode is not supported

The Workflow to get it:

Create a new template file in portal_skins/custom change the mimetype to text/calendar (this type is registered by default)

Tada: You got the error. Same things happens when you change the mimetype of an existing template to this.

Change History

comment:1 Changed 4 years ago by kleist

  • Status changed from new to confirmed
  • Component changed from Unknown to General
  • Description modified (diff)
Note: See TracTickets for help on using tickets.