SAP Knowledge Base Article - Preview

3462196 - The custom backoffice widget working in 2205 is no longer displayed in 2211 with error "CXEC-16558.js:13 Uncaught TypeError: Cannot read properties of undefined (reading 'document')"

Symptom

The custom backoffice widget as below working with 2205 is no longer displayed after upgrade to version 2211. 

             <ckeditor id="editor" width="***px;" height="***px"
                     customConfigurationsPath="<custom widget javascript file>">
                <attribute name="value"></attribute>
             </ckeditor>

The error message from browser console is as below:

CXEC-16558.js:13 Uncaught TypeError: Cannot read properties of undefined (reading 'document')
    at r._syncSize (CXEC-16558.js:13:26)
    at r.width (ckez.wpd:1458:394)
    at r.setWidth (zk.wpd:10:4516)
    at Function._set2 (zk.wpd:10:5302)
    at R.<computed>.o.func (zk.wpd:21:11154)
    at zk.Widget.zk.$extends.set (zk.wpd:21:11214)
    at _ (zk.wpd:23:3137)
    at _ (zk.wpd:23:3267)
    at _ (zk.wpd:23:3267)
    at _ (zk.wpd:23:3267)


Read more...

Environment

SAP Commerce Cloud 2211

Product

SAP Commerce Cloud 2211

Keywords

Uncaught TypeError, Cannot read properties of undefined, CXEC-16558.js , KBA , CEC-SCC-CDM-BO-FRW , Framework , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.