Details
-
Bug
-
Resolution: Fixed
-
Medium
-
1.0
Description
There are two issues with SAL PluginUpgradeManager deployed in Stash.
- It is not exposed via OSGi as LifecycleAware, so it's onStart() method is never called (so upgrades are not triggered on startup).
- It implements DisposableBean and InitializingBean, but afterPropertiesSet() and destroy() are also not called. This due to the fact that sal-core is exported from the host application which is using Spring 3.x, so the plugin system (using Spring 2.x) doesn't recognise the versions of DisposableBean and InitializingBean when it does it's "assignable from" comparison.
Attachments
Issue Links
- mentioned in
-
Page Loading...