craue / CraueConfigBundle

Database-stored settings made available via a service for your Symfony project.
MIT License
173 stars 35 forks source link

Issue using Redis as Cache #55

Open pesseyjulien opened 4 years ago

pesseyjulien commented 4 years ago

Hi,

Great bundle, just a small issue when using Redis for caching.

The key for an element is not the same on update :

1) "[tags_excluded_football][133]" 2) "[tags_excluded_football][1]" 3) "[tags_excluded_football][81]" 4) "[tags_excluded_football][36]" 5) "[tags_excluded_football][107]" 6) "[tags_excluded_football][3]" 7) "[tags_excluded_football][29]"

It looks like it's incrementing.

Any way to change this ?

Thanks in advance for your help, Julien

craue commented 4 years ago

I'm unable to reproduce this. Could you set up a test or project revealing the issue?

craue commented 4 years ago

I've added Redis to the test suite. This should make it easier to add a failing case.