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

Pages with colon on its title breaks Excerp Include macro on page copy

    XMLWordPrintable

Details

    Description

      The problem

      Copying a page that contains an Excerpt Macro that fetches data from pages with ":" on its name, breaks the macro.

      Steps to reproduce

      1. Create a new page with a name that contains ':' ie. "This is the page: Test"
      2. Now, insert a Excerpt Macro, and type something in it
      3. Create a new page, in the same level as the one above
      4. Insert a Excerpt Include Macro on the page, and put the following parameters:
        SPACEKEY:This is the page: Test
      5. Publish the page
      6. Now, copy the page and publish it

      Expected Behavior

      The copied page will be published and the Excerpt Include Macro will display its content

      Actual Behavior

      The macro strips out the SPACEKEY from its parameters, so it interprets the first part of the "This is the page: Test" page as the Space, breaking the macro and displaying: Error rendering macro 'excerpt-include': No link could be created for 'This is the page'.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mbomfim Kombi, the best car ever (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: