-
Notifications
You must be signed in to change notification settings - Fork 3
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
PicklingError after migrating from Plone 4.2 to Plone 4.3 #25
Comments
@vangheem what do you think? how can we avoid this on the future? |
recommend uninstalling before you upgrade to 4.2. uninstall should clean the database. |
@vangheem that's what I did: I uninstalled before upgrading to 4.3 |
Is there an uninstall step that actually cleans the database? I didn't write any of collective.syndication. |
Could we add an alias_module to plone.app.upgrade for collective.syndication? https://github.com/plone/plone.app.upgrade/blob/master/plone/app/upgrade/__init__.py There should be a recipe to configure these through buildout or something. |
https://github.com/collective/collective.easyslider/blob/master/collective/easyslider/importexport.py#L28 is an example of removing marker interfaces. |
just to document the workaround for this issue, the following code must be added to a policy package or similar: # BBB: avoid PicklingError in Plone 4.3
import sys
from Products.CMFPlone.interfaces import syndication
sys.modules['collective.syndication.interfaces'] = sys.modules[syndication.__name__] @ebrehault @jensens @thet @frapell @tisto @bloodbare can we add this fix to Plone 4.3 as @vangheem suggested? |
A site running under Plone 4.2 and using collective.syndication was recently migrated to Plone 4.3.
Before migrating it, collective.syndication was uninstalled as all is code base is only a backport of the Plone 4.3 syndication feature.
Everything looked fine after we tried to edit an content type instance with some related items, then the following error showed up:
My workaround was based on what was discussed in this issue: http://stackoverflow.com/q/29787760/644075
So I ended up listing the package in the eggs part but, because collective.syndication cannot be installed on a site with Plone 4.3, I had to modify the egg information, which is nasty.
This seems indeed related with this other issue: http://stackoverflow.com/q/20290361/644075
The text was updated successfully, but these errors were encountered: