You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by "Marcel Offermans (JIRA)" <ji...@apache.org> on 2012/08/14 00:28:38 UTC

[jira] [Closed] (ACE-59) FileBasedProvider fails if using not 100% osgi version names as folder names

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

Marcel Offermans closed ACE-59.
-------------------------------


Closing issue, it has been resolved for a long time.
                
> FileBasedProvider fails if using not 100% osgi version names as folder names
> ----------------------------------------------------------------------------
>
>                 Key: ACE-59
>                 URL: https://issues.apache.org/jira/browse/ACE-59
>             Project: ACE
>          Issue Type: Bug
>            Reporter: Toni Menzel
>            Assignee: Toni Menzel
>         Attachments: ACE-59.patch
>
>
> getVersions() accept using foldernames like "1.0" or even "1" and map them to 1.0.0.
> Either way, when requesting the package later, a NullPointerException results.
> Attached is a patch that maps folder names to real versions on demand, so that you can keep using simple names like 1,2,3 and things still work as expected.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira