Ticket #13769 (confirmed Bug)
Enabling syndication for folder having non-ascii character in title causes UnicodeDecodeError
Reported by: | kleist | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 4.x |
Component: | General | Version: | 4.3 |
Keywords: | Cc: |
Description
Plone 4.3.2
Tick the enable checkbox on "synPropertiesForm" for a folder with a title containing "Ä":
Traceback (innermost last): Module ZPublisher.Publish, line 138, in publish Module ZPublisher.mapply, line 77, in mapply Module ZPublisher.Publish, line 48, in call_object Module plone.z3cform.layout, line 67, in __call__ Module plone.z3cform.layout, line 83, in render Module Products.Five.browser.pagetemplatefile, line 125, in __call__ Module Products.Five.browser.pagetemplatefile, line 59, in __call__ Module zope.pagetemplate.pagetemplate, line 132, in pt_render Module zope.pagetemplate.pagetemplate, line 240, in __call__ Module zope.tal.talinterpreter, line 271, in __call__ Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 888, in do_useMacro Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 533, in do_optTag_tal Module zope.tal.talinterpreter, line 518, in do_optTag Module zope.tal.talinterpreter, line 513, in no_tag Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 852, in do_condition Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 533, in do_optTag_tal Module zope.tal.talinterpreter, line 518, in do_optTag Module zope.tal.talinterpreter, line 513, in no_tag Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 531, in do_optTag_tal Module zope.tal.talinterpreter, line 513, in no_tag Module zope.tal.talinterpreter, line 343, in interpret Module zope.tal.talinterpreter, line 742, in do_insertStructure_tal Module Products.PageTemplates.Expressions, line 218, in evaluateStructure Module zope.tales.tales, line 696, in evaluate - URL: main_template - Line 34, Column 8 - Expression: <StringExpr u'plone.htmlhead.links'> - Names: {'args': (), 'container': <ATFolder at /cake-and-coffee/Plone/artikel/bookkeeper-1>, 'context': <ATFolder at /cake-and-coffee/Plone/artikel/bookkeeper-1>, 'default': <object object at 0x2b80fb760b40>, 'here': <ATFolder at /cake-and-coffee/Plone/artikel/bookkeeper-1>, 'loop': {}, 'nothing': None, 'options': {}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xffb5368>, 'request': <HTTPRequest, URL=http://cake-and-coffee.de/artikel/bookkeeper-1/synPropertiesForm>, 'root': <Application at >, 'template': <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0xc5e2ad0>, 'traverse_subpath': [], 'user': <PloneUser 'kleist'>, 'view': <Products.Five.metaclass.MyFormWrapper object at 0x11102c90>, 'views': <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x112a4410>} Module zope.contentprovider.tales, line 77, in __call__ Module zope.viewlet.manager, line 112, in update Module zope.viewlet.manager, line 118, in _updateViewlets Module plone.app.layout.links.viewlets, line 120, in update Module plone.app.layout.links.viewlets, line 94, in getRssLinks UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2: ordinal not in range(128)
Changing the "Ä" to "AE" solved the issue.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.