Defect HC-12158

BCS updateContextData does not properly handle stale cache entries for activities

Software

Customer case Applies to Corrected in
CS0241855 V9.0.1 9.0.1.18

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.

Resolution

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.