This issue has been created
There are 3 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-c18a5865-2f61-4c62-b1a9-4182b5d38036 XWIKI-25425 Open

"Failed to access / missing live data configuration for element" error in JS console when editing a page in-place

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-ecf72dee-10be-41c1-8c57-1ef6ff5f8ff2 Ilie Andriuta created this issue on 20/Oct/26 15:04
 
Summary: "Failed to access / missing live data configuration for element" error in JS console when editing a page in-place
Issue Type: cid:jira-generated-image-avatar-c18a5865-2f61-4c62-b1a9-4182b5d38036 Bug
Affects Versions: 17.10.10, 18.4.4, 18.9.0-rc-1
Assignee: Unassigned
Attachments: Missing_LD_Config_Errors.png
Components: Live Data
Created: 20/Oct/26 15:04
Environment: Windows 11 Pro, Firefox 158, using an instance of XWiki 17.10.14 on PostgreSQL 17, Tomcat 11
Labels: regression
Priority: cid:jira-generated-image-static-blocker-52179c4a-aa3c-45d6-a8d6-521805d8da78 Blocker
Reporter: Ilie Andriuta
Description:

Steps to reproduce

  1. Go to a page that contains a Live Data or just create a page with the following content:
    {{liveData
      id="recentPages"
      properties="doc.title,doc.location,doc.author,doc.date"
      source="liveTable"
      sourceParameters="translationPrefix=platform.index."
      filters="doc.location=help"
      sort="doc.date:desc"
      limit="5"
    /}}
  2.  Edit the page in-place
  3. Observe the JS console

Expected results

No errors are displayed.

Actual results

The following errors are displayed in JS console:

Missing live data configuration for element 
<div id="recentPages" class="liveData loading" data-config='{"id":"recentPages","que…on":{"enabled":false}}}'>
 The HTML content is considered unsafe. logic.js:42:17
    Nc logic.js:42
    zc init.js:38
    liveData main.js:51
    (Async: promise callback)
    liveData main.js:50
    jQuery 2
    liveData main.js:34
    n main.js:61
    (Async: promise callback)
    n main.js:59
    jQuery 3
    trigger eventsBridge.js:35
    jQuery 4
    init plugin.js:286
    1 ckeditor.js:11
    l ckeditor.js:10
    fire ckeditor.js:12
    k ckeditor.js:1105
    initOn ckeditor.js:1156
    initOnAll ckeditor.js:1156
    C ckeditor.js:1128
    l ckeditor.js:10
    fire ckeditor.js:12
    fire ckeditor.js:13
    setData ckeditor.js:373
    setup ckeditor.js:380
    l ckeditor.js:10
    fire ckeditor.js:12
    fire ckeditor.js:13
    setData ckeditor.js:276
    inline ckeditor.js:349
    l ckeditor.js:10
    fire ckeditor.js:12
    fire ckeditor.js:13

and

Failed to access the live data configuration for element 
<div id="recentPages" class="liveData loading" data-config='{"id":"recentPages","que…on":{"enabled":false}}}'>
 The HTML content is considered unsafe. TypeError: can't access property "getAttribute", s is null
    Nc logic.js:45
    zc init.js:38
    liveData main.js:51
    promise callback*e.fn.liveData/< main.js:50
    jQuery 2
    liveData main.js:34
    n main.js:61
    promise callback*n main.js:59
    jQuery 3
    trigger eventsBridge.js:35
    jQuery 4
    init plugin.js:286
    1 ckeditor.js:11
    l ckeditor.js:10
    fire ckeditor.js:12
    k ckeditor.js:1105
    initOn ckeditor.js:1156
    initOnAll ckeditor.js:1156
    C ckeditor.js:1128
    l ckeditor.js:10
    fire ckeditor.js:12
    fire ckeditor.js:13
    setData ckeditor.js:373
    setup ckeditor.js:380
    l ckeditor.js:10
    fire ckeditor.js:12
    fire ckeditor.js:13
    setData ckeditor.js:276
    inline ckeditor.js:349
    l ckeditor.js:10
    fire ckeditor.js:12
    fire ckeditor.js:13
logic.js:47:15
    Nc logic.js:47
    zc init.js:38
    liveData main.js:51
    (Async: promise callback)
    liveData main.js:50
    jQuery 2
    liveData main.js:34
    n main.js:61
    (Async: promise callback)
    n main.js:59
    jQuery 3
    trigger eventsBridge.js:35
    jQuery 4
    init plugin.js:286
    1 ckeditor.js:11
    l ckeditor.js:10
    fire ckeditor.js:12
    k ckeditor.js:1105
    initOn ckeditor.js:1156
    initOnAll ckeditor.js:1156
    C ckeditor.js:1128
    l ckeditor.js:10
    fire ckeditor.js:12
    fire ckeditor.js:13
    setData ckeditor.js:373
    setup ckeditor.js:380
    l ckeditor.js:10
    fire ckeditor.js:12
    fire ckeditor.js:13
    setData ckeditor.js:276
    inline ckeditor.js:349
    l ckeditor.js:10
    fire ckeditor.js:12
    fire ckeditor.js:13

The issue could not be reproduced when editing the page in standalone WYSIWYG mode and it couldn't be reproduced on XWiki 17.10.9.

 
 

3 updates

 
cid:jira-generated-image-avatar-ecf72dee-10be-41c1-8c57-1ef6ff5f8ff2 Changes by Ilie Andriuta on 20/Oct/26 15:04
 
Fix Version: 17.10.15
Fix Version: 18.9.0
Fix Version: 18.4.8