What does this mean @gp54321 ?
Does it mean that plone.app.contentypes is not compatible to Plone 4, while documentation says it is?
By the way, I migrated my Plone site to Plone 5.08 which works fine.
But when I than start to migrate Archetypes to Dexterity I get key errors while migrating folders. (its a plain plone site, no custum archetypes)
So in the end I don't know how to migrate my content to dexterity as ist doesn't work in Plone 4 nor in Plone 5 
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 z3c.form.form, line 233, in __call__
Module z3c.form.form, line 228, 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.app.contenttypes.migration.browser, line 397, in handle_migrate
Module plone.app.contenttypes.migration.browser, line 223, in __call__
Module plone.app.contenttypes.migration.migration, line 347, in migrate_folders
Module plone.app.contenttypes.migration.migration, line 50, in migrate
Module Products.contentmigration.basemigrator.walker, line 144, in go
Module Products.contentmigration.basemigrator.walker, line 223, in migrate
MigrationError: MigrationError for obj at /myPlone/myFolder (Folder -> Folder):
Traceback (most recent call last):
File "/plone/myPloneSite/buildout-cache/eggs/Products.contentmigration-2.1.16-py2.7.egg/Products/contentmigration/basemigrator/walker.py", line 192, in migrate
migrator.migrate()
File "/plone/myPloneSite/buildout-cache/eggs/Products.contentmigration-2.1.16-py2.7.egg/Products/contentmigration/basemigrator/migrator.py", line 214, in migrate
self.renameOld()
File "/plone/myPloneSite/buildout-cache/eggs/Products.contentmigration-2.1.16-py2.7.egg/Products/contentmigration/basemigrator/migrator.py", line 481, in renameOld
unrestricted_rename(self.parent, self.orig_id, self.old_id)
File "/plone/myPloneSite/buildout-cache/eggs/Products.contentmigration-2.1.16-py2.7.egg/Products/contentmigration/common.py", line 110, in unrestricted_rename
self._delObject(id)
File "/plone/myPloneSite/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/OFS/ObjectManager.py", line 407, in _delObject
notify(ObjectRemovedEvent(ob, self, id))
File "/plone/myPloneSite/buildout-cache/eggs/zope.event-3.5.2-py2.7.egg/zope/event/__init__.py", line 31, in notify
subscriber(event)
File "/plone/myPloneSite/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/event.py", line 24, in dispatch
zope.component.subscribers(event, None)
File "/plone/myPloneSite/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/plone/myPloneSite/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/registry.py", line 321, in subscribers
return self.adapters.subscribers(objects, provided)
File "/plone/myPloneSite/buildout-cache/eggs/zope.interface-3.6.7-py2.7-linux-x86_64.egg/zope/interface/adapter.py", line 585, in subscribers
subscription(*objects)
File "/plone/myPloneSite/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/event.py", line 32, in objectEventNotify
zope.component.subscribers((event.object, event), None)
File "/plone/myPloneSite/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/plone/myPloneSite/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/registry.py", line 321, in subscribers
return self.adapters.subscribers(objects, provided)
File "/plone/myPloneSite/buildout-cache/eggs/zope.interface-3.6.7-py2.7-linux-x86_64.egg/zope/interface/adapter.py", line 585, in subscribers
subscription(*objects)
File "/plone/myPloneSite/buildout-cache/eggs/five.intid-1.1.2-py2.7.egg/five/intid/intid.py", line 127, in removeIntIdSubscriber
notify(IntIdRemovedEvent(ob, event))
File "/plone/myPloneSite/buildout-cache/eggs/zope.event-3.5.2-py2.7.egg/zope/event/__init__.py", line 31, in notify
subscriber(event)
File "/plone/myPloneSite/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/event.py", line 24, in dispatch
zope.component.subscribers(event, None)
File "/plone/myPloneSite/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/plone/myPloneSite/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/registry.py", line 321, in subscribers
return self.adapters.subscribers(objects, provided)
File "/plone/myPloneSite/buildout-cache/eggs/zope.interface-3.6.7-py2.7-linux-x86_64.egg/zope/interface/adapter.py", line 585, in subscribers
subscription(*objects)
File "/plone/myPloneSite/buildout-cache/eggs/z3c.relationfield-0.7-py2.7.egg/z3c/relationfield/event.py", line 105, in breakRelations
notify(ObjectModifiedEvent(rel.from_object))
File "/plone/myPloneSite/buildout-cache/eggs/zope.event-3.5.2-py2.7.egg/zope/event/__init__.py", line 31, in notify
subscriber(event)
File "/plone/myPloneSite/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/event.py", line 24, in dispatch
zope.component.subscribers(event, None)
File "/plone/myPloneSite/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/plone/myPloneSite/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/registry.py", line 321, in subscribers
return self.adapters.subscribers(objects, provided)
File "/plone/myPloneSite/buildout-cache/eggs/zope.interface-3.6.7-py2.7-linux-x86_64.egg/zope/interface/adapter.py", line 585, in subscribers
subscription(*objects)
File "/plone/myPloneSite/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/event.py", line 32, in objectEventNotify
zope.component.subscribers((event.object, event), None)
File "/plone/myPloneSite/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/plone/myPloneSite/buildout-cache/eggs/zope.component-3.9.5-py2.7.egg/zope/component/registry.py", line 321, in subscribers
return self.adapters.subscribers(objects, provided)
File "/plone/myPloneSite/buildout-cache/eggs/zope.interface-3.6.7-py2.7-linux-x86_64.egg/zope/interface/adapter.py", line 585, in subscribers
subscription(*objects)
File "/plone/myPloneSite/buildout-cache/eggs/plone.app.linkintegrity-3.1-py2.7.egg/plone/app/linkintegrity/handlers.py", line 109, in modifiedContent
links = retriever.retrieveLinks()
File "/plone/myPloneSite/buildout-cache/eggs/plone.app.linkintegrity-3.1-py2.7.egg/plone/app/linkintegrity/retriever.py", line 35, in retrieveLinks
value = accessor()
File "/plone/myPloneSite/buildout-cache/eggs/Products.Archetypes-1.10.18-py2.7.egg/Products/Archetypes/ClassGen.py", line 57, in generatedAccessor
return schema[name].get(self, **kw)
File "/plone/myPloneSite/buildout-cache/eggs/Products.Archetypes-1.10.18-py2.7.egg/Products/Archetypes/Field.py", line 1565, in get
encoding=kwargs.get('encoding', None))
File "/plone/myPloneSite/buildout-cache/eggs/Products.Archetypes-1.10.18-py2.7.egg/Products/Archetypes/BaseUnit.py", line 102, in transform
filename=self.filename)
File "/plone/myPloneSite/buildout-cache/eggs/Products.PortalTransforms-2.2.1-py2.7.egg/Products/PortalTransforms/TransformEngine.py", line 171, in convertTo
usedby=usedby, **kwargs)
File "/plone/myPloneSite/buildout-cache/eggs/Products.PortalTransforms-2.2.1-py2.7.egg/Products/PortalTransforms/chain.py", line 51, in convert
data = transform.convert(orig, data, **kwargs)
File "/plone/myPloneSite/buildout-cache/eggs/Products.PortalTransforms-2.2.1-py2.7.egg/Products/PortalTransforms/Transform.py", line 196, in convert
return self._v_transform.convert(*args, **kwargs)
File "/plone/myPloneSite/buildout-cache/eggs/plone.outputfilters-3.0.1-py2.7.egg/plone/outputfilters/transforms/html_to_plone_outputfilters_html.py", line 33, in convert
res = apply_filters(filters, orig)
File "/plone/myPloneSite/buildout-cache/eggs/plone.outputfilters-3.0.1-py2.7.egg/plone/outputfilters/__init__.py", line 7, in apply_filters
res = filter(data)
File "/plone/myPloneSite/buildout-cache/eggs/plone.outputfilters-3.0.1-py2.7.egg/plone/outputfilters/filters/resolveuid_and_caption.py", line 117, in __call__
self.feed(data)
File "/usr/lib/python2.7/sgmllib.py", line 104, in feed
self.goahead(0)
File "/usr/lib/python2.7/sgmllib.py", line 138, in goahead
k = self.parse_starttag(i)
File "/usr/lib/python2.7/sgmllib.py", line 296, in parse_starttag
self.finish_starttag(tag, attrs)
File "/usr/lib/python2.7/sgmllib.py", line 338, in finish_starttag
self.unknown_starttag(tag, attrs)
File "/plone/myPloneSite/buildout-cache/eggs/plone.outputfilters-3.0.1-py2.7.egg/plone/outputfilters/filters/resolveuid_and_caption.py", line 340, in unknown_starttag
obj, subpath, appendix = self.resolve_link(href)
File "/plone/myPloneSite/buildout-cache/eggs/plone.outputfilters-3.0.1-py2.7.egg/plone/outputfilters/filters/resolveuid_and_caption.py", line 178, in resolve_link
obj = self.lookup_uid(uid)
File "/plone/myPloneSite/buildout-cache/eggs/plone.outputfilters-3.0.1-py2.7.egg/plone/outputfilters/filters/resolveuid_and_caption.py", line 162, in lookup_uid
return uuidToObject(uid)
File "/plone/myPloneSite/buildout-cache/eggs/plone.outputfilters-3.0.1-py2.7.egg/plone/outputfilters/browser/resolveuid.py", line 31, in uuidToObject
return res[0]._unrestrictedGetObject()
File "/plone/myPloneSite/buildout-cache/eggs/Products.ZCatalog-3.0.2-py2.7.egg/Products/ZCatalog/CatalogBrains.py", line 80, in _unrestrictedGetObject
return parent.unrestrictedTraverse(self.getPath())
File "/plone/myPloneSite/buildout-cache/eggs/Zope2-2.13.26-py2.7.egg/OFS/Traversable.py", line 300, in unrestrictedTraverse
raise e
KeyError: 'myFolder'