Community
Participate
Working Groups
The code in RegionManager.loadRegionDigraph() currently has the following TODO // TODO need to validate bundle IDs to make sure they are consistent with current bundles We must do two things: 1) make sure all the bundle ids in the digraph have associated bundles installed in the framework, if not then remove the bundle ids from their regions. 2) make sure all installed bundles are contained in a region in the digraph, if a bundle is found not be included in a Region then it should be added to the "kernel" region. We have also discussed the need to check the Equinox State timestamp to see if it has changed since the digraph was persisted. If the timestamp has not changed then no consistency check is needed. If the timestamp has changed then we must do a consistency check and we may have to perform a refresh operation to ensure all the bundles in the system are re-resolved with the policy of the digraph.
Belongs in components.
I'm not sure why this was never addressed, but it is pretty severe when it surfaces. We need to fix this in luna and probably backport to Kepler.
New testcase with commit: http://git.eclipse.org/c/equinox/rt.equinox.bundles.git/commit/?id=4a04554d99e06a6083a0371f316c13483a32542b Fixed with commit: http://git.eclipse.org/c/equinox/rt.equinox.bundles.git/commit/?id=64b5654183f465e5ceb5b8fbf3cccd6727705735