Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5589

PutMapCommand fires CacheEntryModifiedEvent when creating new entry

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • 8.0.0.Alpha2
    • Core, Listeners
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rvansa1@redhat.com Radim Vansa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: