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

Async Macro should have a 'Content' field in the WYSIWYG

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.6
    • Fix Version/s: 11.7-rc-1, 11.6.1
    • Component/s: Rendering - Async
    • Labels:
      None
    • Environment:
      Windows 10 Pro 64 bit, Firefox 68, using a local instance of XWiki 11.6 on Oracle 12c.
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Edit a page with CKEditor
      2. Click 'XWiki Macro'
      3. Select 'Async macro'
      4. Type some code (for example) as content

      EXPECTED RESULTS

      The content can be inserted in the Macro's UI.

      ACTUAL RESULTS

      There is no 'Content' field in the UI.

      However, if the content is inserted via wiki syntax, it's saved. E.g.: 

      {{async context="user"}}
      {{velocity}}
      Script that need the current user $xcontext.userReference
      {{/velocity}}
      {{/async}}

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                iandriuta Ilie Andriuta
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: