My Oracle Support Banner

Intermittent Rendering Issues when Referencing Content Item Fields with error "TypeError: moreItems.contentItem is undefined render" (Doc ID 2622555.1)

Last updated on NOVEMBER 18, 2024

Applies to:

Content and Experience Cloud Classic - Version 18.4.1 and later
Information in this document applies to any platform.

Symptoms

There is a content type called "My Content News" which has an author field that is a reference to the content type of "Author". When attempting to display the details of a "My Content News", the "Author" details are failing to render consistently. 

The JS Console error shows the following:

In Firefox:  
TypeError: moreItems.contentItem is undefined render.js:175:6

In Chrome:
LoadContent.js:20
https://hostname/content/published/api/v1.1/items/[CORID]?channelToken=*********************
require.js:5 [Violation] 'setTimeout' handler took 74ms
renderer.js:10 Retrieved [CORID] value  [object
Object]
render.js:175 Uncaught (in promise) TypeError: Cannot read property 'fields'
of undefined
    at render.js:175
    at Array.forEach (<anonymous>)
    at render.js:162

 

This is another possible error that is seen in the JS Console:

[Error] Failed to render the Content Layout component with category: Default.
Error: Mismatched anonymous define() module: function (t,u,g){"use
strict";function i(t,e){for(var n=0;n<e.length;n++){var
i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in I&&


Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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