You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2010/06/29 13:37:50 UTC
[jira] Resolved: (KARAF-4) [Karaf] If features:refreshUrl reads an
incorrect definition, it deletes the old version
[ https://issues.apache.org/jira/browse/KARAF-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang resolved KARAF-4.
------------------------------
Fix Version/s: 2.0.0
Resolution: Fixed
commit fix to trunk
http://svn.apache.org/viewvc?rev=958933&view=rev
> [Karaf] If features:refreshUrl reads an incorrect <features> definition, it deletes the old version
> ---------------------------------------------------------------------------------------------------
>
> Key: KARAF-4
> URL: https://issues.apache.org/jira/browse/KARAF-4
> Project: Karaf
> Issue Type: Bug
> Reporter: Filippo Diotalevi
> Assignee: Freeman Fang
> Priority: Minor
> Fix For: 2.0.0
>
>
> Steps to reproduce:
> 1) create a simple feature definition like:
> ---------------
> <features>
> <feature name="spring-dm-web" version="1.2.0">
> <bundle>http://www.abundleUrl.com</bundle>
> </feaure>
> </features>
> ---------------
> 2) features:addUrl <path-to-feature>
> 3) features:list display the new feature correctly
> 4) change the feature definition making the XML invalid, f.i.
> ---------------
> <features>
> <feature name="spring-dm-web" version="1.2.0">
> <bundle>http://www.abundleUrl.com</bundle>
> </feaure>
> </WRONG>
> ---------------
> 5) type features:refreshUrl and see that an error is displayed
> 6) type features:list ---> see that the "spring-dm-web" feature is disappeared
> I would expect that the old feature is maintained if the new version of the feature XML definition is incorrect. WDYT?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.