You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2009/10/06 15:45:31 UTC

[jira] Resolved: (JCR-2340) CacheBehaviour Observation broken

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

Michael Dürig resolved JCR-2340.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
         Assignee: Michael Dürig

After talking to Angela we decided that only the comment needs fixing. 
Fixed in revision: 822272  



> CacheBehaviour Observation broken
> ---------------------------------
>
>                 Key: JCR-2340
>                 URL: https://issues.apache.org/jira/browse/JCR-2340
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-jcr2spi
>    Affects Versions: 2.0.0
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 2.0.0
>
>
> While trying to fix JCR-2293 I discovered that CacheBehaviour Observation is broken:
> - HierarchyEventListener.onEvent ignores local event (despite the comment saying otherwise). Not sure which way it should be. However with local events being ignored, JCR-2293 will most probably also occur with CacheBehaviour Observation. 
> - NodeEntryImpl.refresh(Event) does not set its child node entries to incomplete when a node/property was added.
> - After tentatively fixing above issues, I discovered that NodeEntryImpl.refresh(Event) and my own event listener operate on different NodeEntryImpl and ChildNodeEntryImpl instances. That is, even though I set childNodeEntries.complete to false in NodeEntryImpl.refresh(Event), when my own event listener retrieves that node (entry), it gets a different instance which has childNodeEntries.complete still set to true.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.