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 2012/09/03 03:05:07 UTC

[jira] [Resolved] (FELIX-3646) AbstractComponent.disposeInternal ignores reason

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

Felix Meschberger resolved FELIX-3646.
--------------------------------------

    Resolution: Fixed

Fixed in Rev. 1380104 adding the reason parameter to the State.dispose base and overwritten methods.
                
> AbstractComponent.disposeInternal ignores reason
> ------------------------------------------------
>
>                 Key: FELIX-3646
>                 URL: https://issues.apache.org/jira/browse/FELIX-3646
>             Project: Felix
>          Issue Type: Bug
>          Components: Declarative Services (SCR), Specification compliance
>    Affects Versions: scr-1.8.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: scr-1.8.0
>
>
> Probably due to some refactoring work for concurrency issues, the AbstractComponentManager.disposeInternal currently ignores the passed reason thereby causing the component to be destroyed with the wrong reason (unconditionally DEACTIVATION_REASON_DISPOSED; see Satisfied.dispose).
> This should be modifed such that the State.dispose method also takes the disposal/deactivation reason to be passed to the deactivate method (similar to the State.deactivate method)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira