[infinispan-issues] [JBoss JIRA] (ISPN-5589) PutMapCommand fires CacheEntryModifiedEvent when creating new entry
Radim Vansa (JIRA)
issues at jboss.org
Fri Jul 3 06:57:02 EDT 2015
Radim Vansa created ISPN-5589:
---------------------------------
Summary: PutMapCommand fires CacheEntryModifiedEvent when creating new entry
Key: ISPN-5589
URL: https://issues.jboss.org/browse/ISPN-5589
Project: Infinispan
Issue Type: Bug
Components: Core, Listeners
Affects Versions: 8.0.0.Alpha2
Reporter: Radim Vansa
{{PutMapCommand.perform}} calls {{notifier.notifyCacheEntryModified(...)}} for all entries. {{CacheNotifierTest.initCacheData(...)}} even expect this behaviour. {{PutKeyValueCommand.perform}} (correctly) checks that {{entry.isCreated()}} and in this case does not fire the event.
Generally, the place where the events are fired is quite inconsistent, since modifications are fired from {{perform()}} while creations from {{EntryFactoryImpl}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the infinispan-issues
mailing list