-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Medium
-
Component/s: Macros - Cards
-
None
-
1
-
Minor
Issue Summary
When using the native Cards Macro (`com.atlassian.confluence.link-cards`) in Dynamic mode filtered by child pages (`ancestor = <pageId>` or Pages under this page), the macro fails to render all matching child pages if multiple pages share the same prefix before a hyphen (`-`).
Steps to Reproduce
- 1. Create a parent page in Confluence Cloud.
- 2. Create 3 child pages under the parent with titles sharing a prefix and hyphen: * `Workshop Tuesdays - Dogs` * `Workshop Wednesdays - Cats` * `Workshop Wednesdays - Fish`
- 3. Edit the parent page and insert a Cards Macro.
- 4. Configure the macro: * *Render Variant:* Dynamic * *Filter:* Pages under this page (`ancestor = <parentPageId>`) * *Card Count:* 3 (or higher)
- 5. Verify in the editor preview: All 3 pages are detected. 6. Publish the parent page.
Expected Results
The published page renders all 3 cards with their respective preview images and metadata.
Actual Results
Only 2 cards are rendered (`Workshop Tuesdays - Dogs` and `Workshop Wednesdays - Cats`). The second page sharing the `Workshop Wednesdays` prefix (`Workshop Wednesdays - Fish`) is omitted.
Workaround
Modify the child page titles to remove or alter the common prefix/hyphen structure (e.g., renaming `Workshop Wednesdays - Cats` to `WorkshopWednesdays - Cats` or removing the hyphen). Once the title update is indexed, all cards render as expected.