Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The Bundle Provider fails to install Resources if the path configured for a Bundle (value of the 'Install-Path' key) is contained in the file name of the resource.
Example:
Install-Path = config
Resource = /config/org.example.MyComponent.config
The reason for that is that the BundleProvider uses String#subString(..) to parse the resource name relative to the path. However of the path is also contained within the resource name than this operation fails.
In the above example "" (empty string) would be returned instead of "/org.example.MyComponent.config"