Defect HC-12154

BCS updateContextData does not properly handle stale cache entries for activities


Customer case Applies to Corrected in
CS0241855 V8.0.4.26

Observed behavior

When the context data does not exist in the cached entry for the activity id, an exception is thrown, even though the data is in the database.

Expected behavior

If the cache entry is stale, BusinessContextServiceImpl.updateContextData should check the database, and there should be no exception shown in the log.


The updateContextData logic was fixed so that when the cache entry is stale, it will update the data in the database and refresh the cache entry.