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

Tree Macro is not displayed properly in-place edit mode and requires refresh after page save

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 12.4
    • 12.3-rc-1
    • Tree
    • None
    • Windows 10 Pro 64 bit, Chrome 81, using a local instance XWiki 12.3 on Oracle 19c, Tomcat 9.0.31
    • Easy
    • N/A
    • N/A

    Description

      STEPS TO REPRODUCE

      1. Edit in-place a page
      2. Click on 'Insert' > 'Other Macros'
      3. Search for 'Tree' and click 'Select'
      4. Insert some content, e.g.:
        * Grandparent
        ** Parent
        *** Child
      1. Click 'Submit'
      2. Click 'Save & View'
      3. Click 'Edit' to edit the page in-place again

      EXPECTED RESULTS

      The macro content is properly rendered live in-place edit mode as well as after the page is saved.

      ACTUAL RESULTS

      When added in-place edit mode the macro displays:

      After the page is saved the content is not displayed properly as the tree is still not expandable and the icons are still missing:

      However, after page refresh the content is displayed as expected:

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: