My Oracle Support Banner

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

Last updated on DECEMBER 13, 2023

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.