Skip to content

RedisCache fails to serialize non SimpleKey cache keys [DATAREDIS-1032] #1604

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Sep 3, 2019 · 0 comments
Assignees
Labels
in: cache RedisCache and CacheManager type: bug A general bug

Comments

@spring-projects-issues
Copy link

Christoph Strobl opened DATAREDIS-1032 and commented

SimpleKeyGenerator return the value itself instead of a SimpleKey for single non-null
values.
This causes serialization values in case of eg. List values when the signature is like this.

@Cacheable
public String findSomething(List<Something> somethings) {...}

Affects: 2.1.10 (Lovelace SR10), 2.2 RC2 (Moore)

Referenced from: pull request #475

Backported to: 2.1.11 (Lovelace SR11)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: cache RedisCache and CacheManager type: bug A general bug
Projects
None yet
Development

No branches or pull requests

2 participants