karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (KARAF-4) [Karaf] If features:refreshUrl reads an incorrect <features> definition, it deletes the old version
Date Tue, 29 Jun 2010 09:59:51 GMT

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

Freeman Fang reassigned KARAF-4:
--------------------------------

    Assignee: Freeman Fang

> [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
>
> 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.


Mime
View raw message