Unable to remove previously added repository from OBR
-----------------------------------------------------
Key: FELIX-2958
URL: https://issues.apache.org/jira/browse/FELIX-2958
Project: Felix
Issue Type: Bug
Components: Bundle Repository (OBR)
Affects Versions: bundlerepository-1.6.4
Reporter: Jarek Gawor
When adding a new repository to OBR, the passed url is converted into an actual
URL object and the repository is stored in a map under url.toExternalForm()
key. However, when removing a repository, the raw url string is used remove the
repository from the map. Because of the uri conversion to URL object in
addRepository(), the passed in string and the string produced by
URL.toExternalForm() might be slightly different. That can make
removeRepository() not work right (the repository won't be removed).
For example, URL.toExternalForm() on file:///media/d/m2/repository.xml returns
file:/media/d/m2/repository.xml.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira