When the List component is rendered as Teaser resources, all items referencing internal AEM pages are rendered with the same ID as specified on the parent List component.
This can be fixed by updating com.adobe.cq.wcm.core.components.internal.models.v2.PageListItemImpl#getTeaserResource to include the following line:
overriddenProperties.put(PN_ID, getId());
For consistency, the same should be done in com.adobe.cq.wcm.core.components.internal.models.v4.ExternalLinkListItemImpl#getTeaserResource
Bug present as of version: 2.24.7-SNAPSHOT
When the List component is rendered as Teaser resources, all items referencing internal AEM pages are rendered with the same ID as specified on the parent List component.
This can be fixed by updating
com.adobe.cq.wcm.core.components.internal.models.v2.PageListItemImpl#getTeaserResource
to include the following line:For consistency, the same should be done in
com.adobe.cq.wcm.core.components.internal.models.v4.ExternalLinkListItemImpl#getTeaserResource