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