Skip to content

fix: resolve decomposed Permission Set parents by suffix - #1817

Open
MaxHuet wants to merge 1 commit into
forcedotcom:mainfrom
MaxHuet:MaxHuet/fix-permission-set-beta2-parent-resolution
Open

fix: resolve decomposed Permission Set parents by suffix#1817
MaxHuet wants to merge 1 commit into
forcedotcom:mainfrom
MaxHuet:MaxHuet/fix-permission-set-beta2-parent-resolution

Conversation

@MaxHuet

@MaxHuet MaxHuet commented Aug 10, 2026

Copy link
Copy Markdown

Summary

  • Preserve the decomposed Permission Set root metadata file when resolving a component directory.
  • Filter root candidates by the metadata parent suffix before accepting a directory-name match.
  • Add a regression test covering the Beta2 Permission Set layout.

Context

Decomposed Beta2 Permission Set files can share the parent full name while using child suffixes. The resolver could therefore select a child fragment as the root metadata XML and later generate an invalid objectSettings path.

Related issue: forcedotcom/cli#3621

Validation

  • corepack yarn build
  • corepack yarn test:only
  • corepack yarn test:snapshot

Known unrelated limitation: test:registry still reports metadata types missing from the existing registry fixture.

@salesforce-cla

Copy link
Copy Markdown

Thanks for the contribution! Unfortunately we can't verify the commit author(s): Maximilien <m***@c***.fr>. One possible solution is to add that email to your GitHub account. Alternatively you can change your commits to another email and force push the change. After getting your commits associated with your GitHub account, sign the Salesforce Inc. Contributor License Agreement and this Pull Request will be revalidated.

@MaxHuet

MaxHuet commented Aug 10, 2026

Copy link
Copy Markdown
Author

Revalidation du CLA apres association de l'adresse email du commit au compte GitHub.

@MaxHuet MaxHuet closed this Aug 10, 2026
@MaxHuet MaxHuet reopened this Aug 10, 2026
@salesforce-cla

Copy link
Copy Markdown

Thanks for the contribution! Before we can merge this, we need @MaxHuet to sign the Salesforce Inc. Contributor License Agreement.

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.

1 participant