You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2011/02/18 20:15:38 UTC
[jira] Closed: (FELIX-2844) Disabled SCR Component can't be
re-enabled anymore
[ https://issues.apache.org/jira/browse/FELIX-2844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger closed FELIX-2844.
------------------------------------
Resolution: Not A Problem
Assignee: Felix Meschberger
This is expected behaviour
> Disabled SCR Component can't be re-enabled anymore
> --------------------------------------------------
>
> Key: FELIX-2844
> URL: https://issues.apache.org/jira/browse/FELIX-2844
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services (SCR)
> Affects Versions: scr-1.6.0
> Environment: Linux bono 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:44 UTC 2011 x86_64 GNU/Linux
> java version "1.6.0_22"
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
> Reporter: Martin Zdila
> Assignee: Felix Meschberger
> Priority: Critical
>
> g! scr:list
> [ 123] [active ] MyComponent
> g! scr:disable 123
> This correctly disables the component but it's service ID is then changed to -1 and the component can't be enabled anymore.
> g! scr:list
> [ -1] [disabled ] MyComponent
> g! scr:enable 123
> Missing Component with ID 123
> g! scr:enable -1
> Missing Component with ID -1
> Also affects scr-1.6.1.20110216100152
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira