Ticket #11630 (closed Bug: fixed)
Infite recursion in plone.i18n.normalize (__init__.py)
|Reported by:||Sardtok||Owned by:|
After installing LinguaPlone it seems I can't create new content using Add New. It's possible to copy content and change it by manually renaming it through the contents page, but that means I can't add new types of content.
Versions: Plone - 4.0.2 plone.app.i18n - 2.0 plone.i18n - 2.0 LinguaPlone - 4.0.2
To me it seems that queryUtility returns the URLNormalizer from i18n/normalizer/init.py to its own normalize function: util = queryUtility(IURLNormalizer, name=locale) ... if util is not None:
text = util.normalize(text, locale=locale)
If util here is of the same class/the same object as the one normalize is first called on, it will just keep calling its own normalize over and over.
So it seems there's something wrong with queryUtility.
I've tried looking for this bug, but haven't found it here, or by googling, so I'm suspecting it might be some configuration or plug-in that screws up the queryUtility function.
- Keywords patch, linguaplone added
- Status changed from new to confirmed
- Version set to 4.0