Community
Participate
Working Groups
In a framework hooks built kernel distribution try installing two equal bundles with different filenames via the Equinox console. They both get installed but in different regions. Steps to reproduce: 1. use the two bundles(in the attached DEV.zip) - they are exactly the same except for the filenames 2. install them sequentially using "install file:<...>" 3. use "ss" and the "vsh bundle list" - the second bundle will be visible in both regions
Created attachment 188447 [details] The two test bundles
The fix is to remove an unnecessary restriction in the region implementation. This was causing the operation to add the second bundle to the kernel region to fail, leaving the bundle in no region. For some reason, this was then visible in the user region, probably because the vsh code path currently filters out all bundles in the kernel region. The removed restriction, to avoid bundles with identical symbolic name and version being installed in a region, could not be enforced by the bundle event hook as this cannot fail an install.
The fix is pushed to the bug330776-framework-hooks branch. Not sure about the target milestone, but let's assume 3.0.0.M01 until proven otherwise.