Uploaded image for project: 'Map Macro'
  1. Map Macro
  2. MAP-28

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.1.3
    • 2.1.2
    • None
    • Windows 10 Pro 64 bit, Firefox 78, using a local instance XWiki 12.5.1 on PostgreSQL 12, Tomcat 9.0.36
    • Unknown

    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

        1. Map_macro_in_place_edit.png
          29 kB
          Ilie Andriuta
        2. Map_macro_view_mode.png
          19 kB
          Ilie Andriuta

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: