felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FELIX-2958) Unable to remove previously added repository from OBR
Date Wed, 18 May 2011 19:32:47 GMT

     [ https://issues.apache.org/jira/browse/FELIX-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jarek Gawor updated FELIX-2958:

    Attachment: FELIX-2958.patch

Attached patch for this issue.

> 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
>         Attachments: FELIX-2958.patch
> 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

View raw message