[
https://issues.apache.org/jira/browse/OAK-1262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13840043#comment-13840043
]
Tobias Bocanegra commented on OAK-1262:
---------------------------------------
correction. the session.refresh() didn't help.
but here's another error, where even the item reported in the event does not
exist:
{noformat}
05.12.2013 13:08:52.545 *ERROR*
[org.apache.jackrabbit.oak.plugins.observation.ChangeProcessor@7414bb78]
com.day.cq.wcm.core.impl.components.ComponentCacheImpl Error during event
processing
javax.jcr.PathNotFoundException:
/apps/ReplicationAgentDisablingTest1386245331947
at
org.apache.jackrabbit.oak.jcr.session.SessionImpl.getItem(SessionImpl.java:348)
~[na:na]
at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) ~[na:na]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
~[na:1.6.0_32]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_32]
at
org.apache.sling.jcr.base.SessionProxyHandler$SessionProxyInvocationHandler.invoke(SessionProxyHandler.java:109)
~[na:na]
at $Proxy9.getItem(Unknown Source) ~[na:na]
at
com.day.cq.wcm.core.impl.components.ComponentCacheImpl.onEvent(ComponentCacheImpl.java:418)
~[na:na]
{noformat}
> observation event is triggered but session sees old content
> -----------------------------------------------------------
>
> Key: OAK-1262
> URL: https://issues.apache.org/jira/browse/OAK-1262
> Project: Jackrabbit Oak
> Issue Type: Bug
> Reporter: Tobias Bocanegra
>
> unfortunately there is not test case yet, but we see sometime the behavior
> that an admin session gets an observation event of a modified property but
> when reading the content still sees the old content.
--
This message was sent by Atlassian JIRA
(v6.1#6144)