Package version create fails when setting default Case Record type & Enterprise edition build org #1981
Labels
bug
Issue or pull request that identifies or fixes a bug
owned by another team
The Salesforce CLI team does not own this work but will pass on the information to the correct team.
Summary
When specifying Default Case record type in objectSettings & setting the Edition to Enterprise in project-scratch-def.json, an error is thrown during sfdx package version create. This error is not thrown when using sfdx version 7.165.0.
Steps To Reproduce:
Repository to reproduce: dreamhouse-lwc
sfdx package create -n campaign-r campaign -t Unlocked -v myhuborg
(does not need to contain any Case functionality. This contains only a Campaign field)sfdx package version create -p campaign -w 15 -x -v myhuborg -f config/project-scratch-def.json
Expected result
New package version successfully created
Actual result
System Information
Additional information
This error does not occur when Edition is set to Developer in project-scratch-def.json. In addition, this error does not occur on sfdx version 7.165.0 (the one we are currently utilizing in our CI environment). We have had this error in sfdx versions 7.180+ if I'm not mistaken.
The text was updated successfully, but these errors were encountered: