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

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

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 12.3-rc-1, 12.5.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows 10 Pro 64 bit, Firefox 78, using a local instance XWiki 12.5.1 on PostgreSQL 12, Tomcat 9.0.36
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Attach a video file to a page
      2. Edit the respective page in-place
      3. Click on 'Insert > Other Macros'
      4. Search for Map and click Select
      5. Fill in the Location an desired options
      6. Click Submit
        Or paste
        {{map location="Le Louroux Beconnais, France" zoom="6"}}City{{/map}}

        in Source or Wiki mode

      1. Click Save & View
      2. Click 'Edit' to edit the page again

      EXPECTED RESULTS

      The macro's content is displayed properly in-place edit mode and after the page is saved.

      ACTUAL RESULTS

      The macro's content (map) is not rendered properly in-place edit mode, instead an empty frame is displayed.

      After the page is saved, the map is not displayed until the page is refreshed.

      This doesn't reproduce if the page is edited in WYSIWYG mode.

      Issue reproduced also on XWiki 12.3 RC1.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              iandriuta Ilie Andriuta
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: