Describe the bug
When a cached query is executed in an asynchronous context and the .cacheInSessionCache() option is enabled, the following error is thrown:
Class.CacheManager.PlatformCache.contains: line 94, column 1
Class.SOQLCache.CacheStorageProxy.hasCachedRecords: line 354, column 1
Class.SOQLCache.executeInitialQuery: line 297, column 1
Class.SOQLCache.toObject: line 292, column 1
Class.SOQLCache.toValueOf: line 287, column 1
To Reproduce
Execute a cached query in an asynchronous context with the .cacheInSessionCache() option enabled.
Describe the bug
When a cached query is executed in an asynchronous context and the
.cacheInSessionCache()option is enabled, the following error is thrown:To Reproduce
Execute a cached query in an asynchronous context with the
.cacheInSessionCache()option enabled.