Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-24096

Some macros don't execute properly when editing the source of a page in the inplace editor and saving directly from there

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 17.8.0, 17.10.4
    • CKEditor
    • None
    • Unknown

    Description

      Steps to reproduce:

      1. create a page with the create page form
      2. save the page, empty
      3. from view mode, enter the edit mode, using the default editor (in-place and realtime)
      4. switch to source editing, from the rich text editor button
        •  at this point an information box will say that the realtime editing mode was left, which is alright, expected and normal
      5. type or paste a liveData macro call, for example:
        {{liveData
          id="users"
          properties="_avatar,doc.name,first_name,last_name"
          source="liveTable"
          sourceParameters="className=XWiki.XWikiUsers&translationPrefix=xe.userdirectory."
        /}}
        
      6. click save and view

      Expected result:

      • edit mode is exited and a livedata table loads in view mode for the page

      Actual result:

      • edit mode is exited, but the page only displays a spinner indefinitely (and the table never loads):

      • after a refresh, the page displays properly, as expected

      Attachments

        Activity

          People

            Unassigned Unassigned
            lucaa Anca Luca
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: