#41 — umlauts (special charackters) in foldernnames fails

State Resolved
Version: 0.6.1
Area Functionality
Issue type Bug
Severity Medium
Submitted by René Stern
Submitted on Jul 30, 2011
Responsible
Target release: 0.6.1
In german (i think in other languages as well) we have special cahracters like ä, ü, ö, ß and so on. In normal plonfolders it is possible to use these charackters without problems. When i changed the folder to a cild site, i got the following error, when i try to add an item to this folders or to change it.

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.CMFFormController.FSControllerPageTemplate, line 91, in __call__
  Module Products.CMFFormController.BaseControllerPageTemplate, line 31, in _call
  Module Shared.DC.Scripts.Bindings, line 324, in __call__
  Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
  Module Products.CMFCore.FSPageTemplate, line 240, in _exec
  Module Products.CMFCore.FSPageTemplate, line 180, in pt_render
  Module Products.PageTemplates.PageTemplate, line 80, in pt_render
  Module zope.pagetemplate.pagetemplate, line 113, in pt_render
   - Warning: Macro expansion failed
   - Warning: <type 'exceptions.KeyError'>: 'macro'
  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 583, in do_setLocal_tal
  Module zope.tales.tales, line 696, in evaluate
   - URL: file:/usr/local/Plone/buildout-cache/eggs/Products.Archetypes-1.6.6-py2.6.egg/Products/Archetypes/skins/archetypes/base_edit.cpt
   - Line 1, Column 0
   - Expression: <PathExpr standard:u'lifecycle/begin_edit'>
   - Names:
      {'container': <PloneSite at /schachstern>,
       'context': <ATFolder at /schachstern/webseiten/sk-koenig-tegel>,
       'default': <object object at 0xb75ad6e0>,
       'here': <ATFolder at /schachstern/webseiten/sk-koenig-tegel>,
       'loop': {},
       'nothing': None,
       'options': {'args': (),
                   'state': <Products.CMFFormController.ControllerState.ControllerState object at 0xd25f7cc>},
       'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0xd321194>,
       'request': <HTTPRequest, URL=http://ec2-46-51-154-28.eu-[…]koenig-tegel/atct_edit>,
       'root': <Application at >,
       'template': <FSControllerPageTemplate at /schachstern/atct_edit used for /schachstern/webseiten/sk-koenig-tegel>,
       'traverse_subpath': [],
       'user': <PropertiedUser 'admin'>}
  Module zope.tales.expressions, line 217, in __call__
  Module Products.PageTemplates.Expressions, line 157, in _eval
  Module Products.PageTemplates.Expressions, line 119, in render
  Module Products.Archetypes.browser.lifecycle, line 17, in begin_edit
  Module zope.event, line 23, in notify
  Module zope.component.event, line 26, in dispatch
  Module zope.component._api, line 138, in subscribers
  Module zope.component.registry, line 323, in subscribers
  Module zope.interface.adapter, line 575, in subscribers
  Module zope.component.event, line 33, in objectEventNotify
  Module zope.component._api, line 138, in subscribers
  Module zope.component.registry, line 323, in subscribers
  Module zope.interface.adapter, line 575, in subscribers
  Module plone.locking.events, line 13, in lockOnEditBegins
  Module plone.locking.lockable, line 37, in lock
  Module collective.proxyproperties.utility, line 58, in __getattribute__
AttributeError: 'ProxyProperties' object has no attribute 'objectIds'
Steps to reproduce:
1. Make a new folder with the name "könig" (german for king)
2. Sub-Type it as a child site
3. Try to edit or to add a new item to the folder fails
Added by Ross Patterson on Oct 20, 2011 08:47 PM
Target release: None0.6.1
I can confirm this on a site using lineage.proxyprops, but I think it's completely unrelated to the title since my title has no special characters.
Added by Ross Patterson on Oct 20, 2011 08:50 PM
Issue state: UnconfirmedConfirmed
Forgot to mention this is Plone 4.1
Added by Ross Patterson on Oct 20, 2011 09:33 PM
Issue state: ConfirmedResolved
Fix committed in r245741:
http://dev.plone.org/[…]/trunk

No responses can be added.