You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2011/04/21 02:46:05 UTC
[jira] [Created] (FELIX-2926) No log message on missing activate
method
No log message on missing activate method
-----------------------------------------
Key: FELIX-2926
URL: https://issues.apache.org/jira/browse/FELIX-2926
Project: Felix
Issue Type: Bug
Components: Declarative Services (SCR)
Affects Versions: scr-1.6.0
Reporter: David Jencks
DS spec 112.5.8 says:
If the activate attribute is specified and no suitable method is located, SCR must log an error message with the Log Service, if present,...
This is not implemented and the lack makes it really hard to figure out why the DS isn't activated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (FELIX-2926) No log message on missing activate
method
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger closed FELIX-2926.
------------------------------------
Close after release
> No log message on missing activate method
> -----------------------------------------
>
> Key: FELIX-2926
> URL: https://issues.apache.org/jira/browse/FELIX-2926
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services (SCR)
> Affects Versions: scr-1.6.0
> Reporter: David Jencks
> Assignee: Felix Meschberger
> Fix For: scr-1.6.2
>
> Attachments: FELIX-2926.diff
>
>
> DS spec 112.5.8 says:
> If the activate attribute is specified and no suitable method is located, SCR must log an error message with the Log Service, if present,...
> This is not implemented and the lack makes it really hard to figure out why the DS isn't activated.
--
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
[jira] [Assigned] (FELIX-2926) No log message on missing activate
method
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger reassigned FELIX-2926:
----------------------------------------
Assignee: Felix Meschberger
> No log message on missing activate method
> -----------------------------------------
>
> Key: FELIX-2926
> URL: https://issues.apache.org/jira/browse/FELIX-2926
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services (SCR)
> Affects Versions: scr-1.6.0
> Reporter: David Jencks
> Assignee: Felix Meschberger
> Attachments: FELIX-2926.diff
>
>
> DS spec 112.5.8 says:
> If the activate attribute is specified and no suitable method is located, SCR must log an error message with the Log Service, if present,...
> This is not implemented and the lack makes it really hard to figure out why the DS isn't activated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FELIX-2926) No log message on missing activate
method
Posted by "David Jencks (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jencks updated FELIX-2926:
--------------------------------
Attachment: FELIX-2926.diff
logs missing activate, deactivate, and modified methods
> No log message on missing activate method
> -----------------------------------------
>
> Key: FELIX-2926
> URL: https://issues.apache.org/jira/browse/FELIX-2926
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services (SCR)
> Affects Versions: scr-1.6.0
> Reporter: David Jencks
> Attachments: FELIX-2926.diff
>
>
> DS spec 112.5.8 says:
> If the activate attribute is specified and no suitable method is located, SCR must log an error message with the Log Service, if present,...
> This is not implemented and the lack makes it really hard to figure out why the DS isn't activated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (FELIX-2926) No log message on missing activate
method
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved FELIX-2926.
--------------------------------------
Resolution: Fixed
Fix Version/s: scr-1.6.2
Thanks for reporting the bug and providing the patch.
Actually, the situation of a declared method not being found is already logged in the BaseMethod.setMethod method. But this is logged at DEBUG level, which is why the message is generally not printed.
I fixed this to log an error level message as stipulated by the spec in Revision: 1125294
> No log message on missing activate method
> -----------------------------------------
>
> Key: FELIX-2926
> URL: https://issues.apache.org/jira/browse/FELIX-2926
> Project: Felix
> Issue Type: Bug
> Components: Declarative Services (SCR)
> Affects Versions: scr-1.6.0
> Reporter: David Jencks
> Assignee: Felix Meschberger
> Fix For: scr-1.6.2
>
> Attachments: FELIX-2926.diff
>
>
> DS spec 112.5.8 says:
> If the activate attribute is specified and no suitable method is located, SCR must log an error message with the Log Service, if present,...
> This is not implemented and the lack makes it really hard to figure out why the DS isn't activated.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira