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

Jean-Baptiste Onofré reopened KARAF-4737:
-----------------------------------------

Unfortunately, if the behavior is correct at the first start, as the feature 
resolver considers the whole feature set, installing any feature will reset the 
bundle (from another feature) in its original state (according to the start 
attribute).

We have to store the bundle status and avoid to reset the status to original if 
the bundle is already known (and so potentially changed by an user).

> Bundle start attribute in features XML is ignored
> -------------------------------------------------
>
>                 Key: KARAF-4737
>                 URL: https://issues.apache.org/jira/browse/KARAF-4737
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-feature
>    Affects Versions: 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4, 4.0.5, 4.0.6, 4.0.7
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.1.0, 4.0.8
>
>
> If we have the following features XML:
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0"; name="tests">
>         <feature name="test" version="1.0-SNAPSHOT">
>                 <bundle start-level="80" start="false">...</bundle>
>         </feature>
>  
> </features>
> {code}
> the bundle {{start}} attribute is ignored and the bundle is always started 
> (even if {{start}} is set to {{false}}).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to