collective / dexterity.membrane

enables dexterity content items to be used as users and groups in Plone sites
3 stars 14 forks source link

Instances of example (user) content type cannot be added #16

Open petri opened 9 years ago

petri commented 9 years ago

On Plone 4.3.7 (debian), with dexterity.membrane 1.1.0, when trying to add:

2015-11-23T08:48:11 ERROR Zope.SiteErrorLog 1448261291.70.0769201380383 http://services/toinen/++add++dexterity.membrane.member
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 66, in __call__
  Module plone.z3cform.layout, line 50, in update
  Module plone.dexterity.browser.add, line 117, in update
  Module plone.z3cform.fieldsets.extensible, line 59, in update
  Module plone.z3cform.patch, line 30, in GroupForm_update
  Module z3c.form.group, line 145, in update
  Module plone.app.z3cform.csrf, line 21, in execute
  Module z3c.form.action, line 98, in execute
  Module z3c.form.button, line 315, in __call__
  Module z3c.form.button, line 170, in __call__
  Module plone.dexterity.browser.add, line 100, in handleAdd
  Module z3c.form.form, line 250, in createAndAdd
  Module plone.dexterity.browser.add, line 75, in add
  Module plone.dexterity.utils, line 185, in addContentToContainer
  Module Products.BTreeFolder2.BTreeFolder2, line 455, in _setObject
  Module zope.event, line 31, in notify
  Module zope.component.event, line 24, in dispatch
  Module zope.component._api, line 136, in subscribers
  Module zope.component.registry, line 321, in subscribers
  Module zope.interface.adapter, line 585, in subscribers
  Module zope.component.event, line 32, in objectEventNotify
  Module zope.component._api, line 136, in subscribers
  Module zope.component.registry, line 321, in subscribers
  Module zope.interface.adapter, line 585, in subscribers
  Module plone.app.referenceablebehavior.uidcatalog, line 25, in added_handler
  Module Products.Archetypes.UIDCatalog, line 227, in catalog_object
  Module Products.ZCatalog.ZCatalog, line 476, in catalog_object
  Module Products.ZCatalog.Catalog, line 353, in catalogObject
  Module Products.PluginIndexes.common.UnIndex, line 224, in index_object
  Module Products.PluginIndexes.common.UnIndex, line 251, in _index_object
  Module Products.PluginIndexes.common.UnIndex, line 199, in insertForwardIndexEntry
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 8: ordinal not in range(128)
petri commented 8 years ago

Can no longer reproduce.

petri commented 8 years ago

Damn started seeing this again... also removal & change triggers the issue.

petri commented 8 years ago

This occurs depending on what I enter in the name / surname fields. Cannot figure out the heuristics of what exactly triggers the behavior. Very strange.