Skip to content

MWPW-202977 [MEP] Enable insertion/replace of block rows or cells with fragments - #6742

Merged
milo-pr-merge[bot] merged 7 commits into
stagefrom
mep-rowcol-v2
Sep 21, 2026
Merged

milo-pr-merge[bot] merged 7 commits into
stagefrom
mep-rowcol-v2

Conversation

@vgoodric

@vgoodric vgoodric commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Summary
Enhance personalization fragment insertion for row and cell targets, including nested inline fragments.

Changes

  • Updated personalization fragment creation to identify section, row, and cell insertion contexts.
  • Preserve valid row and cell structure by avoiding paragraph wrappers where they are not appropriate.
  • Add replacement container metadata with data-mep-replace-type for row and cell insertions.
  • Update inline fragment handling to:
  1. Extract the correct content from row and cell fragment structures.
  2. Remove unnecessary section wrappers.
  3. Resolve nested fragments within row and cell insertions.
  4. Preserve existing behavior for standard fragment insertion and MEP in-block replacements.
  • Added fragment unit coverage for nested content inserted into a row.
  • Updated personalization functional test selectors to verify the actual replacement anchors rather than assuming they are descendants of a paragraph.

Resolves: MWPW-202977

Test URLs:

Compare the before and after link. The before link has unintended behavior, but the after link cleanly replaces the row.
Before:
image
After:
image

@vgoodric
vgoodric requested review from a team as code owners September 16, 2026 00:36
@aem-code-sync

aem-code-sync Bot commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-sync branch
Commits

@milo-pr-merge

milo-pr-merge Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Skipped merging 6742: MWPW-202977 [MEP] Enable insertion/replace of block rows or cells with fragments due to failing or running checks

@milo-pr-merge
milo-pr-merge Bot merged commit dca5159 into stage Sep 21, 2026
22 of 23 checks passed
@milo-pr-merge
milo-pr-merge Bot deleted the mep-rowcol-v2 branch September 21, 2026 08:17

This branch was successfully deployed

2 active deployments
milo_pr_merge 5d9b9195 Deployed Sep 17, 2026 by vgoodric via merge-to-stage #6784
mep-rowcol-v2 5d9b9195 Deployed Sep 17, 2026 by aem-code-sync[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants