jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] Resolved: (JCR-2340) CacheBehaviour Observation broken
Date Tue, 06 Oct 2009 13:45:31 GMT

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


Mime
View raw message