Copy Page Tree + MultiExcerpt Include: space-key for includes to pages that are not copied

Description

STEPS TO REPRODUCE:

  • Create a page with a MultiExcerpt in space 1

  • Create a separate page in space 1 that uses MultiExcerpt Include to include the excerpt

  • Copy Page Tree (or use OOTB Confluence Copy) to copy the "include" page to a different space (space 2)

    • BUT DO NOT INCLUDE the excerpt page in the tree to be copied.

  • Notice that the excerpt is not found for the copied page.

Root cause is that, for a MultiExcerpt Include that points to an excerpt on a page that is in the same space as the include, there is no ri:space-key (no SpaceWithExcerpt macro param) in the include macro. The CPT is using ri:space-key attributes to detect space-keys to change during the copy and it is not seeing any for these ME-Includes.

Freshdesk Tickets

None

Create a Support Ticket

Assignee

Unassigned

Reporter

Ture Hoefner

Labels

Product

None

Priority

Major