plone / Products.CMFPlone

The core of the Plone content management system
https://plone.org
GNU General Public License v2.0
246 stars 187 forks source link

Error with linkintegrity when copying items #1114

Closed vangheem closed 8 years ago

vangheem commented 8 years ago

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.app.content.browser.contents.paste, line 44, in __call__
Module OFS.CopySupport, line 235, in manage_pasteObjects
Module OFS.ObjectManager, line 359, 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 OFS.subscribers, line 113, in dispatchObjectMovedEvent
Module zope.container.contained, line 153, in dispatchToSublocations
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.linkintegrity.handlers, line 136, in modifiedDexterity
Module plone.app.linkintegrity.handlers, line 92, in getObjectsFromLinks
Module five.intid.intid, line 41, in getId
Module zope.intid, line 89, in getId
KeyError: <Folder at /sumter/copy_of_causes>
tomgross commented 8 years ago

Hi @vangheem can you please give some more information on this. Which object do you copy? The one with link or the linked?

tomgross commented 8 years ago

There is even a functional test case covering copy & paste -> _test_references_on_clonedobjects

1letter commented 8 years ago

Hi, FYI, I get the same Traceback. i have posted my Problem here

tomgross commented 8 years ago

The solution is posted there too:

and

Ok, after some attempts, i found a solution. normally, i had deinstalled all addons from portal quickinstaller in the zmi before i upgrade the instance. now, i didn't uninstalled the 'plone.app.intid' "addon", and all was fine. Sorry, it was my mistake, this should not be happen. :confused:

I'm closing this. Reopen if needed.