You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Filippo Diotalevi (JIRA)" <ji...@apache.org> on 2009/10/19 11:33:31 UTC
[jira] Created: (FELIX-1770) [Karaf] If features:refreshUrl reads
an incorrect definition, it deletes the old version
[Karaf] If features:refreshUrl reads an incorrect <features> definition, it deletes the old version
---------------------------------------------------------------------------------------------------
Key: FELIX-1770
URL: https://issues.apache.org/jira/browse/FELIX-1770
Project: Felix
Issue Type: Bug
Components: Karaf
Reporter: Filippo Diotalevi
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.