adobe / adobe/aem-core-wcm-components

Page Break when List Component Display as Teaser

Open
#2,987 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
795
Forks
775
Avg merge
3d 22h
Merged PRs (30d)
8

Description

## Bug Report

**Current Behavior**
When List component is pointing to a parent path that contain more than 1000 child pages, the list items that can be rendered as Teaser cannot be more than 700, or the page that use the List component will break.

**Expected behavior/code**
The list item should be able to be rendered when displayed as teaser, regardless of how many child pages are under the targeted parent path

**Environment**
- AEM Release: 2025.9.22450.20250911T131210Z
- Core Components version: 2.26.0
- Java 11

**Possible Solution**

**Additional context / Screenshots**
Steps to replicate:
1. In crxde, go to /libs/core/wcm/components/list/v3/list and copy it to /apps/ component folder.
2. In the jcr:node of the List Component, ensure the TeaserDelegate is pointing to core/wcm/components/teaser/v2/teaser.
3. Go to any template to allow this component.
4. Create a page using that specific template in step 3, and drop the list component into the page.
5. Point the parent path field in the list to a parent page that have more than 1000 child pages.
6. Set the maxItems to 700, and View page as Published (page should be able to render)
7. In the List component, go to Item Settings and select Display as Teaser.
8. Save the change and View page as Published (page is breaking).

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with a List component copied from /libs/core/wcm/components/list/v3/list to /apps, a TeaserDelegate targeting core/wcm/components/teaser/v2/teaser, more than 1000 child pages, and maxItems set to 700. Verify that selecting Display as Teaser breaks the published page; done means the page renders with all requested teaser items.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.