Cannot read properties of undefined (reading 'name')

Created on 2 July 2024, 9 months ago

Problem/Motivation

When using this with CKE5 Premium, this error can occur:

Cannot read properties of undefined (reading 'name') at Object.eval (footnotesui.js:43:25)

Steps to reproduce

Hard to know exactly but seems to be a mix of track changes, comment resolving, undo/redo, and eventually a footnotes console error appears.

Proposed resolution

Double check that the modelElement actually exists first and has a name property

Remaining tasks

Update JS code

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Needs review

Version

3.1

Component

Footnotes

Created by

🇬🇧United Kingdom scott_euser

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024