You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Christoph Kiehl (JIRA)" <ji...@apache.org> on 2006/10/16 12:42:34 UTC

[jira] Created: (JCR-594) It's not possible to register event listeners that filters on mixin supertypes

It's not possible to register event listeners that filters on mixin supertypes
------------------------------------------------------------------------------

                 Key: JCR-594
                 URL: http://issues.apache.org/jira/browse/JCR-594
             Project: Jackrabbit
          Issue Type: Bug
          Components: observation
    Affects Versions: 1.1
            Reporter: Christoph Kiehl


The current implementation of blocks() in EventFilter does not check if the given EventState has a mixin that is derived from one of the given node types.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (JCR-594) It's not possible to register event listeners that filters on mixin supertypes

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-594?page=all ]

Marcel Reutegger resolved JCR-594.
----------------------------------

    Resolution: Fixed

Fixed in revision: 464496

I've changed the patch a bit and moved some code into the EventState class.

Thank you for reporting this issue and providing a patch.

> It's not possible to register event listeners that filters on mixin supertypes
> ------------------------------------------------------------------------------
>
>                 Key: JCR-594
>                 URL: http://issues.apache.org/jira/browse/JCR-594
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: observation
>    Affects Versions: 1.1
>            Reporter: Christoph Kiehl
>         Attachments: EventFilter.java.patch
>
>
> The current implementation of blocks() in EventFilter does not check if the given EventState has a mixin that is derived from one of the given node types.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (JCR-594) It's not possible to register event listeners that filters on mixin supertypes

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-594?page=all ]

Jukka Zitting updated JCR-594:
------------------------------

    Fix Version/s: 1.1.1

> It's not possible to register event listeners that filters on mixin supertypes
> ------------------------------------------------------------------------------
>
>                 Key: JCR-594
>                 URL: http://issues.apache.org/jira/browse/JCR-594
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: observation
>    Affects Versions: 1.1
>            Reporter: Christoph Kiehl
>             Fix For: 1.1.1
>
>         Attachments: EventFilter.java.patch
>
>
> The current implementation of blocks() in EventFilter does not check if the given EventState has a mixin that is derived from one of the given node types.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (JCR-594) It's not possible to register event listeners that filters on mixin supertypes

Posted by "Christoph Kiehl (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-594?page=all ]

Christoph Kiehl updated JCR-594:
--------------------------------

    Attachment: EventFilter.java.patch

This patch adds code to check if the given EventState has a mixin that is derived from a node type that should not be blocked.

> It's not possible to register event listeners that filters on mixin supertypes
> ------------------------------------------------------------------------------
>
>                 Key: JCR-594
>                 URL: http://issues.apache.org/jira/browse/JCR-594
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: observation
>    Affects Versions: 1.1
>            Reporter: Christoph Kiehl
>         Attachments: EventFilter.java.patch
>
>
> The current implementation of blocks() in EventFilter does not check if the given EventState has a mixin that is derived from one of the given node types.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira