Skip to content

Bug with request with language param #126

Description

@LucJosin

Description

After the first request, the findBy will always return the cached value even if language param change

@Cacheable(value = "findBy", key = "#uuid")
D findBy(UUID uuid, String language);

Examples

Requesting with:

/api/v1/seasons/3b980ad3-aef8-4663-a7a9-64cb4979500a?language=en-US

And after with:

/api/v1/seasons/3b980ad3-aef8-4663-a7a9-64cb4979500a?language=pt-BR

Will always return the value in english

Logging

Cache entry for key '3b980ad3-aef8-4663-a7a9-64cb4979500a' found in cache 'findBy'

Activity

  1. self-assigned this
    on Sep 5, 2023
  2. added a commit that references this issue on Oct 28, 2023
    bd9dbe7
  3. moved this to Todo in Roadmapon Oct 29, 2023
  4. moved this from Todo to In Progress in Roadmapon Oct 29, 2023
  5. moved this from In Progress to Done in Roadmapon Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpatch-releasePatch version bump

Type

No type

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions