AbstractValueAdaptingCache#toStoreValue should throw an exception if the value is null and allowNulls is false [SPR-15173] #19739
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Stéphane Nicoll opened SPR-15173 and commented
If a
Cache
is configured to not allow null values,toStoreValue
can still returnnull
instead of throwing an exception. This leads to a non informative exception message if the underlying cache provider tries to store the value down the road.Affects: 4.3.5
Issue Links:
The text was updated successfully, but these errors were encountered: