Defect HC-2473

Solr query cache entry can be modified by custom code

Software

Customer case Applies to Corrected in
CS0109427 V9.0.1.7 9.0.1.12

Observed behavior

Solr query post processing code can modify the cached result. The next cache hit will return the modified result, which is incorrect.

Expected behavior

The cached result should not be modied.

Resolution

The code was modified to serialize the data it is first added to the cache, then de-serialize it on retrieval from the cache.