-
Notifications
You must be signed in to change notification settings - Fork 5
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
Does not work on 5.1 #19
Comments
I had the same error - but the above fix, whilst stopping the error, I've since found that plone.reload seems to work on 5.1 |
Plone 5.1 final and later have new generation of ZODB, so I'm not surprised of issues myself. Unfortunately, I've been mostly working with a bit older versions, so I have not been able to see and fix these issues myself yet. This will be fixed eventually, but meanwhile, going back to plone.reload is a good choice. Many years ago, sauna.reload was required, because plone.reload could only reload ZCML registered components and unable to reload components configured with Grok. Now that Dexterity development no longer involves any Grok, sauna.reload is not really needed. That said, we are using venusianconfiguration a lot in in-house packages and therefore need to fix sauna.reload once we hit this issue. |
I'm expecting to work on this this year to add support for Python 3 and Plone 5.2, because I still need this with venusianconfiguration. That said, I also assume that all ZCML products are better developed with plone.reload, which can reload them just fine (and Grok should not be an issue, because it does not support Python 3). |
With new ClientStorage that Plone 5.1 uses sauna.reload no longer works and fails when trying to start the client with a RELOAD_PATH
I have seen than ClientStorage has changed some things, like attributes names and way to open a new connection and cache.
Without really understanding the underlying changes I have tried to change the adapters.py file to do it the new way and aparently it is working but I do not know if it will have side effects or will work like before, just tested a small change in a browser view method and it was reloaded.
Just in case it helps I will copy the changes I made in adapters.py
The text was updated successfully, but these errors were encountered: