CumulusCI icon indicating copy to clipboard operation
CumulusCI copied to clipboard

Add check recordType XML element exists before referencing text

Open rtoepferveruna opened this issue 1 year ago • 2 comments

Certain objects in Salesforce profile XML schema are not required to have a recordType child element of layoutAssignment node. This fix prevents an exception being thrown when updating orgs with these objects in the profile metadata.

rtoepferveruna avatar Sep 06 '24 22:09 rtoepferveruna

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

salesforce-cla[bot] avatar Sep 06 '24 22:09 salesforce-cla[bot]

@jstvz I've reviewed this change, tested it locally, and implemented with @rtoepferveruna in a repo with active CI builds using CumulusCI. I can't see any risk to adding it as it current would be throwing an exception for anyone hitting the issue.

jlantz avatar Sep 07 '24 21:09 jlantz