Page Cache Does Not Get Flushed When Updating A Dependent Asset (Doc ID 2179134.1)

Last updated on SEPTEMBER 15, 2016

Applies to:

Oracle WebCenter Sites - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Dependency not logged for asset with embedded link when read with AssetReader.

When rendering an asset using AssetReader to read the asset:
- e.g. via a Controller used by a Template:
...
  @RequiredParams(query="c,cid")
 public void doWork(Map models)
 {
  Map assetMap = newAssetReader()
  .forAsset(getAssetId())
  .selectAll(true)
  .read();
  models.put("asset", assetMap);
 }
...

If the asset has an embedded link, then the asset is not logged as a dependency of the page.

The page is not cached for Satellite server, and for Sites Page cache the dependency for the page is _NODEP_

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms