You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Philipp Koch (JIRA)" <ji...@apache.org> on 2005/08/12 16:56:56 UTC

[jira] Created: (JCR-187) it is not possible to register an event listener which listens to mixin nodetypes

it is not possible to register an event listener which listens to mixin nodetypes
---------------------------------------------------------------------------------

         Key: JCR-187
         URL: http://issues.apache.org/jira/browse/JCR-187
     Project: Jackrabbit
        Type: Improvement
  Components: observation  
    Reporter: Philipp Koch
    Priority: Minor


it would be a nice enhancement if one could as well define mixin nodetypes to be listened:
...
om.addEventListener(this,
                        Event.PROPERTY_ADDED | Event.PROPERTY_CHANGED | Event.PROPERTY_REMOVED,
                        "/",
                        true,
                        null,
                        new String[]{"mix:Custom"},
                        false);
...

-- 
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-187) it is not possible to register an event listener which listens to mixin nodetypes

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

Jukka Zitting updated JCR-187:
------------------------------

           type: Bug  (was: Improvement)
    Fix Version: 1.0
       Priority: Major  (was: Minor)

Tagging this issue for 1.0 and relabeling it as a major bug. Is this problem still active? I believe that this behaviour is against the JCR specification.

> it is not possible to register an event listener which listens to mixin nodetypes
> ---------------------------------------------------------------------------------
>
>          Key: JCR-187
>          URL: http://issues.apache.org/jira/browse/JCR-187
>      Project: Jackrabbit
>         Type: Bug
>   Components: observation
>     Reporter: Philipp Koch
>      Fix For: 1.0

>
> it would be a nice enhancement if one could as well define mixin nodetypes to be listened:
> ...
> om.addEventListener(this,
>                         Event.PROPERTY_ADDED | Event.PROPERTY_CHANGED | Event.PROPERTY_REMOVED,
>                         "/",
>                         true,
>                         null,
>                         new String[]{"mix:Custom"},
>                         false);
> ...

-- 
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] Assigned: (JCR-187) it is not possible to register an event listener which listens to mixin nodetypes

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

Marcel Reutegger reassigned JCR-187:
------------------------------------

    Assign To: Marcel Reutegger

> it is not possible to register an event listener which listens to mixin nodetypes
> ---------------------------------------------------------------------------------
>
>          Key: JCR-187
>          URL: http://issues.apache.org/jira/browse/JCR-187
>      Project: Jackrabbit
>         Type: Bug
>   Components: observation
>     Reporter: Philipp Koch
>     Assignee: Marcel Reutegger
>      Fix For: 1.0

>
> it would be a nice enhancement if one could as well define mixin nodetypes to be listened:
> ...
> om.addEventListener(this,
>                         Event.PROPERTY_ADDED | Event.PROPERTY_CHANGED | Event.PROPERTY_REMOVED,
>                         "/",
>                         true,
>                         null,
>                         new String[]{"mix:Custom"},
>                         false);
> ...

-- 
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] Commented: (JCR-187) it is not possible to register an event listener which listens to mixin nodetypes

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

Marcel Reutegger commented on JCR-187:
--------------------------------------

This is still an unresolved issue and I think you are right, that the filter must also respect mixin types.

> it is not possible to register an event listener which listens to mixin nodetypes
> ---------------------------------------------------------------------------------
>
>          Key: JCR-187
>          URL: http://issues.apache.org/jira/browse/JCR-187
>      Project: Jackrabbit
>         Type: Bug
>   Components: observation
>     Reporter: Philipp Koch
>     Assignee: Marcel Reutegger
>      Fix For: 1.0

>
> it would be a nice enhancement if one could as well define mixin nodetypes to be listened:
> ...
> om.addEventListener(this,
>                         Event.PROPERTY_ADDED | Event.PROPERTY_CHANGED | Event.PROPERTY_REMOVED,
>                         "/",
>                         true,
>                         null,
>                         new String[]{"mix:Custom"},
>                         false);
> ...

-- 
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] Closed: (JCR-187) it is not possible to register an event listener which listens to mixin nodetypes

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

    Resolution: Fixed

Fixed in revision: 306651

> it is not possible to register an event listener which listens to mixin nodetypes
> ---------------------------------------------------------------------------------
>
>          Key: JCR-187
>          URL: http://issues.apache.org/jira/browse/JCR-187
>      Project: Jackrabbit
>         Type: Bug
>   Components: observation
>     Reporter: Philipp Koch
>     Assignee: Marcel Reutegger
>      Fix For: 1.0

>
> it would be a nice enhancement if one could as well define mixin nodetypes to be listened:
> ...
> om.addEventListener(this,
>                         Event.PROPERTY_ADDED | Event.PROPERTY_CHANGED | Event.PROPERTY_REMOVED,
>                         "/",
>                         true,
>                         null,
>                         new String[]{"mix:Custom"},
>                         false);
> ...

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