-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Error during upgrade #113
Comments
please give more context on the error:
|
Hi thet,
it's quite a big project, you can see the metadata.xml file there: And the main zcml there: https://github.com/collective/collective.rcse/blob/master/collective/rcse/configure.zcml Also I did a bit more testing, catalog_setup() is not called from setup_misc() and site in catalog_setup is: <Products.GenericSetup.context.DirectoryImportContext object at 0x7fa22c691b50> I'll keep digging. |
I don't k now why but the handler for the import step 'plone.app.event catalog setup' is changed at some point: plone.app.event catalog setup => plone.app.event.setuphandlers.catalog_setup The handler is correct during the initial registerStep. |
Actually I am on the plone5 branch. |
I found something new. in the getSortedImportSteps of the SetupTool (Products.GenericSetup.tool), plone.app.event-catalog is in both global and non-global steps. The global one is the good one but the tool checks on the local one first. I don't know yet why it behaves like that. |
The manage tab of portal_setup in the ZMI helped med solved it. It told me there was a conflict for this step. So problem solved I guess. |
We need to solve this for other installations of plone.app.event too. Sorry, I thought that portal_setup automatically cleaned up the persistent step when you switch from registering the step in the profile to registering it in ZCML. |
During catalog_setup, traceback is as following:
The text was updated successfully, but these errors were encountered: