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

Children macro is not properly live rendered and needs page refresh to display its content when in-place editing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.3-rc-1
    • Fix Version/s: 12.4
    • Component/s: Index, Tree
    • Labels:
      None
    • Environment:
      Windows 10 Pro 64 bit, Chrome 81, using a local instance XWiki 12.3 on Oracle 19c, Tomcat 9.0.31
    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Edit in-place a page that has children (eg. Sandbox)
      2. Click on "Insert" Button (the "+" icon)
      3. Click on Other Macros
      4. Search for Children and click Select
      5. Click Submit
      6. Click Save & View
      7. Click 'Edit' to edit the page again

      EXPECTED RESULTS

      The macro content (children of the page) is displayed in-place edit mode as well as right after the page is saved.

      ACTUAL RESULTS

      When in-place edit mode the macro displays:

      macro:template

      After the save, the page needs to be refreshed for the children to be displayed on the macro. However, if the macro is added in WYSIWYG editing mode, the content doesn't require a refresh after save.

      The same behavior can be reproduced with 'Page Tree' macro.

      Also, 'Template Macro' displays   in-place edit mode,  but does not require refresh after page save to display the content (tested with 'code.vm').

      However, 'Tree Macro' displays different the content in-place edit mode and right after the page save, requiring page refresh (unlike when inserted though WYSIWYG edit mode).

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response: