]
Galder Zamarreño updated ISPN-8585:
-----------------------------------
Summary: Removed listener should only fire when something removed (was: No removed
listener event should be fired when nothing is removed)
Removed listener should only fire when something removed
--------------------------------------------------------
Key: ISPN-8585
URL:
https://issues.jboss.org/browse/ISPN-8585
Project: Infinispan
Issue Type: Enhancement
Components: Listeners
Affects Versions: 9.2.0.Beta1, 9.1.3.Final
Reporter: Galder Zamarreño
Assignee: Galder Zamarreño
Fix For: 9.2.0.Beta2, 9.2.0.Final
Removed embedded listener is being fired even if no elements are being removed. This
shouldn't be the case.
This is not the case with remote listeners, where the server side code checks whether the
old value is not null before sending the event to the client.
https://github.com/infinispan/infinispan/blob/master/server/hotrod/src/ma...
The embedded listener should not fire events in the first place.