Saving a Page Template with a content-type except text/html or text/xml raises an exception in Zope-2.12
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Medium
|
Unassigned |
Bug Description
Hello,
* create a Page Template
* modify Content-Type to something except 'text/html' or 'text/xml', i.e. 'application/xml' for example.
* then we get an exception
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.
Module Products.
Module Products.
TypeError: decoding Unicode is not supported
This is because Products.
I attach the patch for svn://svn.
Changed in zope2: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
The zope2 project on Launchpad has been archived at the request of the Zope developers (see https:/ /answers. launchpad. net/launchpad/ +question/ 683589 and https:/ /answers. launchpad. net/launchpad/ +question/ 685285). If this bug is still relevant, please refile it at https:/ /github. com/zopefoundat ion/zope2.