Imprint cache not invalidated when language tree nodes are deleted
Opened this issue · 0 comments
timobrembeck commented
Describe the Bug
After deleting language tree nodes, the imprint form still shows the deleted languages in its tabs.
Steps to Reproduce
- Enable caching
- Go to imprint form to cache the object
- Delete language tree node
- Return to imprint form and still see the tab of the deleted language
Expected Behavior
The language tabs should not list deleted languages
Actual Behavior
Probably, we have to invalidate the cache of the imprint object here:
integreat-cms/integreat_cms/cms/views/language_tree/language_tree_actions.py
Lines 130 to 144 in 47b2ce2