Skip to content

AbstractValueAdaptingCache does not allow for flexible null value serialization [SPR-15693] #20252

Closed
@spring-projects-issues

Description

@spring-projects-issues

Stéphane Nicoll opened SPR-15693 and commented

AbstractAdaptingValueCache has been refactored to offer a NullValue holder that would resolve to a unique instance when deserialized (see #18129).

This infrastructure cannot be used if the cache manager implementation uses a custom serialization mechanism (for instance if the data is serialized in text using json). The redis cache manager is affected by this issue.

A simple/naive fix would be to make that instance public so that they can return what the base class is expecting.


Affects: 4.3.9

Issue Links:

Referenced from: commits spring-projects/spring-data-redis@c998abf

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions