My Oracle Support Banner

Compilation Errors Due to Incorrectly Referenced Assets (Doc ID 2963250.1)

Last updated on JANUARY 05, 2024

Applies to:

Oracle Content Management - Version 18.2.5 and later
Information in this document applies to any platform.

Goal

We have observed that the compilation process sometimes use assettypes that have already been removed.
One such assettype is "[ASSET_TYPE1]", which is now deprecated and no longer in use. Although we still store assets of the "[ASSET_TYPE1]" type in the [REPO1] repository, they are not used.

Compilation errors such as below are printed in compilation log

[00:21:25] ReferenceError: SiteUtils is not defined
at file:///u01/compileagent/cec-src/src/components/[COMPONENT_NAME]/assets/common_compile.mjs:568:108
at Array.forEach (<anonymous>)
at default.updateCtaLinks (file:///u01/compileagent/cec-src/src/components/[COMPONENT_NAME]/assets/common_compile.mjs:556:41)
at file:///u01/compileagent/cec-src/src/components/[COMPONENT_NAME]/assets/compile.mjs:110:33
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Why is this happening?

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.