Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-64794

Excerpt Include Macro Fails in Fabric, if the included excerpt is from TinyMCE and is in a section/table/macro

    XMLWordPrintable

Details

    Description

      Summary

      With the introduction of the new editor for pages, when the user tries to retrieve an Excerpt with the Excerpt Include macro from a page Created with the older editor (TinyMCE) that includes different sections, or where the Excerpt is wrapped in a table or macro, the inclusion will fail with an error.

      Steps to Reproduce

      1. Create a page using the old editor and make sure to use the older model of sections, like the two even columns:  Alternatively, you can create a table or a macro in which you will include the Excerpt.
      2. Add the Excerpt macro to this page and have some content inside the same
      3. Publish this page
      4. Now, use a page that already has the new editor (e.g. Meeting Notes and Blog posts)
      5. Add the Excerpt Include macro and point it to the page created in the first step
      6. Save the configuration and publish the page

      Expected Results

      The "Excerpt Include" macro should properly retrieve the content from the page.

      Actual Results

      The following message is displayed when using the macro:

      Error loading excerpt from "Space Key:Test Page".

      Notes

      • The older section model does not need to be inside the excerpt to have the issue happening.
      • This seems to be happening because the new editor only allows a fixed centralized section for the pages and the same cannot be changed or have new ones included as the older one. Update: While columns have been added to the new Editing Experience, they behave differently than sections.
      • The following messages are displayed in the browser's console:
        No excerpt found for SPACEKEY:Page name
        
      • While previewing the macro, the same displays properly:

      Workaround

      In the page that the excerpt will be retrieved, do not use sections, and make sure there is no wrapping around the excerpt.

      Attachments

        1. look.png
          look.png
          132 kB
        2. macro.png
          macro.png
          18 kB
        3. preview.png
          preview.png
          131 kB
        4. two.png
          two.png
          188 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gdecampos Giuliano C.
              Votes:
              34 Vote for this issue
              Watchers:
              38 Start watching this issue

              Dates

                Created:
                Updated: