Galder Zamarreño created ISPN-8652:
--------------------------------------
Summary: Embedded JCache listener does not correctly return the previous
value
Key: ISPN-8652
URL:
https://issues.jboss.org/browse/ISPN-8652
Project: Infinispan
Issue Type: Bug
Components: JCache
Affects Versions: 9.1.4.Final, 9.2.0.Beta2
Reporter: Galder Zamarreño
See discussion
[
here|https://github.com/infinispan/infinispan/pull/5624#discussion_r15941...].
The cache entry modified embedded event does not easily expose the previous value. To get
the previous value, you need to listen for isPre=true event and cache the value. This is
not user friendly.
The cache entry modified embedded event should probably expose a method to retrieve
previous value regardless of whether isPre is true or false.
The JCache TCK currently only verifies that the previous value is non null, so we can just
the current value and the TCK passes, but this is not correct.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)