This content has been marked as final.
Show 4 replies
-
1. Bug ? - cache.put(Key, NonNullValue) -> CacheEntryModifiedEvent.getValue() returns null value after creating put()
mpokorny Jan 18, 2011 7:08 PM (in response to mpokorny)Just to clarify the commentary above is all ab out null values for creating puts, replacement puts work just fine.
-
2. Bug ? - cache.put(Key, NonNullValue) -> CacheEntryModifiedEvent.getValue() returns null value after creating put()
mircea.markus Jan 19, 2011 4:26 AM (in response to mpokorny)CacheEntryCreatedEvent.getCache(CacheEntryCreatedEvent.getKey())
Isn't this CacheEntryCreatedEvent.getCache().get(CacheEntryCreatedEvent.getKey())?
I think the way to go here is by adding CacheEntryCreatedEvent.getValue() - similar to CacheEntryModifiedEvent.getValue(). Wdyt?
One way or the other, the behaviour should be consistent between put and amend.
Mind creating a JIRA for this?
Thanks,
Mircea
-
3. Bug ? - cache.put(Key, NonNullValue) -> CacheEntryModifiedEvent.getValue() returns null value after creating put()
mpokorny Jan 19, 2011 4:33 AM (in response to mircea.markus)Yes sorry for the mistake and correction - my code actually makes sense and shows the value is null. I just wanted to make sure that this behaviour was a bug because it seemed weird. I will create a jira...