Content
View differences
Updated by Markus Kahl over 7 years ago
**How to reproduce**
1. Create custom field "A"
2. Filter using this custom field "A" in work packages view
3. Rename custom field to "B"
4. Try to filter using custom field "B" in work packages view
**Expected Behaviour**
You can filter by "B".
**Actual Behaviour**
You can only filter by "A".
**Comments**
This is fixed by clearing the cache (Rails.cache.clear).
So it seems that renaming a custom field doesn't invalidate a cache which it should invalidate.
1. Create custom field "A"
2. Filter using this custom field "A" in work packages view
3. Rename custom field to "B"
4. Try to filter using custom field "B" in work packages view
**Expected Behaviour**
You can filter by "B".
**Actual Behaviour**
You can only filter by "A".
**Comments**
This is fixed by clearing the cache (Rails.cache.clear).
So it seems that renaming a custom field doesn't invalidate a cache which it should invalidate.