Service extensions should invoke a refresh method upon refresh

Bug #101224 reported by Jan-Wijbrand Kolman
12
Affects Status Importance Assigned to Milestone
Silva
Fix Released
High
Sylvain Viollon

Bug Description

Currently the service_extensions will invoke an uninstall followed by an install
to refresh an extension. This may lead to data loss if the extension's uninstall
properly removes all extension's traces - e.g. services.

We can solve this is if the install.py of an extension is supposed to have a
refresh method that is called from the extensions service instead.

I put it under Silva-1.1 too, but its probably too late to inlcude it there.

Revision history for this message
Martijn Faassen (faassen) wrote :

Removing this from Silva-1.1, as it's indeed too late. You're right though. I
have a half-finished extension manager system sitting in CVS that has more
thinking about this, but that's probably too much work to introduce in 1.2 as
well... Then of course there's the migration I hope to start doing using Zope 3
utilities..

Revision history for this message
Martijn Faassen (faassen) wrote :

Not planning this in for Silva-1.2

Changed in silva:
assignee: jw-infrae → aaltepet
Revision history for this message
Andy Altepeter (aaltepet) wrote :

the Silva trunk (2.2) now supports real extension refreshes, not simply uninstall/install.

Changed in silva:
assignee: Andy Altepeter (aaltepet) → Kit Blake (kitblake)
milestone: none → 2.2
status: Confirmed → Fix Committed
Revision history for this message
Kit Blake (kitblake) wrote :

We need to solve a related problem with refreshes, namely that metadata sets get flushed and any adjustments (like changing role guards) don't persist.

Changed in silva:
assignee: Kit Blake (kitblake) → Sylvain Viollon (thefunny)
importance: Low → High
milestone: 2.2 → 2.3
milestone: 2.3 → 2.2
Revision history for this message
Kit Blake (kitblake) wrote :

But I'll 'Fix release' this issue.

Changed in silva:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.