Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError when moving object #3

Open
michaelangyk opened this issue Jun 30, 2014 · 1 comment
Open

KeyError when moving object #3

michaelangyk opened this issue Jun 30, 2014 · 1 comment

Comments

@michaelangyk
Copy link

Using version 0.6
When moving object using
api.content.move(source=contact, target=portal)
I got this error.
Maybe I install it after portal has existing contents, or because I use email as id?

...
Module plone.api.content, line 2, in move
Module plone.api.validation, line 70, in wrapped
Module plone.api.content, line 2, in move
Module plone.api.validation, line 131, in wrapped
Module plone.api.content, line 174, in move
Module OFS.CopySupport, line 304, in manage_pasteObjects
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 experimental.securityindexing.subscribers, line 29, in on_object_moved
Module experimental.securityindexing.shadowtree, line 61, in delitem
KeyError: '[email protected]'

@mgrbyte
Copy link
Contributor

mgrbyte commented Jul 10, 2014

@michaelangyk I'll try and find some cycles to look into this in the next week or so.
Can you confirm this does not happen if you have a non-email-address userid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants