felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Zdila (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FELIX-2844) Disabled SCR Component can't be re-enabled anymore
Date Wed, 16 Feb 2011 09:06:01 GMT

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

Martin Zdila updated FELIX-2844:
--------------------------------

    Description: 
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-SNAPSHOT (20110216100152)

  was:
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     ] com.mwaysolutions.gofer2.tempMemory.TempMemoryPipelineModule
g! scr:enable 123
Missing Component with ID 123
g! scr:enable -1
Missing Component with ID -1

Also affects scr-1.6.1-SNAPSHOT (20110216100152)


> 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
>            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-SNAPSHOT (20110216100152)

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message