You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Simone Tripodi (JIRA)" <ji...@apache.org> on 2013/04/22 09:37:16 UTC

[jira] [Created] (SLING-2836) Missing @(De)Activate annotations in ReferrerFilter#(de)activate() methods cause Sling Referrer Filter Tab clones

Simone Tripodi created SLING-2836:
-------------------------------------

             Summary: Missing @(De)Activate annotations in ReferrerFilter#(de)activate() methods cause Sling Referrer Filter Tab clones
                 Key: SLING-2836
                 URL: https://issues.apache.org/jira/browse/SLING-2836
             Project: Sling
          Issue Type: Bug
          Components: Console
    Affects Versions: Security 1.0.2
            Reporter: Simone Tripodi
             Fix For: Security 1.0.4


As per subject, {{ReferrerFilter#activate()}} and {{ReferrerFilter#deactivate()}} methods are not annotated with {{@Activate}} and {{@Deactivate}} annotations, that causes the _Sling Referrer Filter_ tab in the _Configuration Status_ is cloned.
I'd assume that it is because the {{ReferrerFilter}} is never deactivated so multiple {{ReferrerFilter}} instances exist.

Patch is following!

--
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