Assetset:getmultiplevalues, not null when attribute is not present (Doc ID 1492548.1)

Last updated on JUNE 29, 2017

Applies to:

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

Symptoms

When doing the following:

  1. Loop over a list of assets,
  2. call <assetset:setasset> for each asset,
  3. call <assetset:getmultiplevalues> for some attributes,

if an asset in the list has a value for a specific attribute but the following asset doesn't, the value of the previous asset's attribute is returned with the second asset. E.g.:

In the situation where Asset1 has an attribute X, but Asset2 doesn't have that attribute, you'll see:
Asset1: attribute X has the value for Asset1 (as expected)
Asset2: attribute X has the value for Asset1 (this should have returned nothing, since Asset2 doesn't have an attribute X)

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