Community
Participate
Working Groups
If the platform's base location is a UNC path, SimpleConfiguratorUtils computes bundle locations incorrectly. When converting a relative URI to an absolute URI, it doesn't include the path of the base URI. This prevents the platform from starting when running from a UNC path.
Created attachment 121674 [details] Fix v01
There are some test failures with this patch so this fix isn't sufficient.
Created attachment 122025 [details] Fix v02 + test The previous fix wasn't quite right, because it made bundle install paths absolute. That worked, but will break other scenarios where relative paths are needed. The bug was really in SimpleConfiguratorUtils#parseLocation, which needs to add the additional '//' when constructing a URL to match the expected behaviour in Java for UNC URIs (see discussion in bug 207103). There was also a bug in BundleInfo#equals, which should be using URIUtil#append rather than URI#resolve.
Created attachment 122026 [details] Same as previous patch, but fixed both copies of BundleInfo
Pascal, can you apply the patch from this bug and bug 260084 and make sure all the tests pass on the Mac? I want to make sure I didn't break scenarios that work differently on Mac.
All the tests pass with both patches applied
Fix released.