Excerpt Include macro in a legacy editor page fails to display smart links

XMLWordPrintable

    • 4
    • Severity 3 - Minor
    • 0

      Issue Summary

      Excerpt Include macro in a legacy editor page fails to display smart links. Instead, it displays the complete raw URL. It also happens when the page is converted to a new editor. In the new editor, it does show a smart URL in the Edit mode but fails to load the same once Published.

      This specifically happens when we include a space URL in the Excerpt Macro.

      Steps to Reproduce

      1. Create a page with Excerpt Macro and add a few spaces, page URLs.
      2. Create another page in a Legacy Editor with Excerpt Include Macro with the above Excerpt.

      Expected Results

      Smart links to be displayed on the Excerpt Include Macro page just like how it shows in the Excerpt Macro Page.

      Actual Results

      1. In the excerpt include page, the page displays Raw URL when in an old editor.
      2. If the page in step(1) is converted i.e., without panel, it shows smart links in the new editor.
      3. If an excerpt include is placed inside a panel macro in the old editor, it again fails to render as a smart link.
      4. If the page in step(3) is converted, then in the edit mode of the new editor page, it shows the smart link as expected but when published, it shows a raw URL.

      Attached screenshots are some test results.





      In the screenshots, if a page name contains:
      New: New Editor
      Old: Legacy/Old Editor
      Converted: Old/Legacy editor to new editor.

      Workaround

      Currently, there is no known workaround for this behavior in an old/legacy editor.

      For the converted page from an old editor, remove the panel and just include the excerpt include macro.

            Assignee:
            Unassigned
            Reporter:
            Dhanush
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: