AssetData GetImmediateParents Returns Java.lang.UnsupportedOperationException For Query Asset (Doc ID 1641987.1)

Last updated on JANUARY 05, 2016

Applies to:

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

Goal

Q1. Why does WebCenter Sites throw an UnsupportedOperationException when we try to identify parents for assets of type Query using assetData.getImmediateParents()?

Q2. If Query assets cannot have parents then why does assetData.getAssetTypeDef().getCanBeChild() return true for Query assets?
 

Solution

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