Foreign objects cache incorrectly keyed for complex queries

Description

Under certain circumstances the foreign objects cache is stored with insufficient specificity, meaning that with some (usually complex, e.g. multiple nested rule filters) queries the wrong cached data will be retrieved.

The simple solution here is to disable this cache for the complex queries (ones that have extra joins or extra filters), pending further investigation and a better solution.

Environment

None

Assignee

Seb Duggan

Reporter

Seb Duggan

Labels

None

Accepted

Yes

Fix versions

Affects versions

Priority

Medium
Configure