Unable to create scratch org when having Managed Package with ancestorVersion = HIGHEST #2642
Labels
area:packaging
investigating
We're actively investigating this issue
validated
Version information for this issue has been validated
Summary
Similar to #1392 & #1453. When having a Managed Package, and using ancestorVersion = HIGHEST, sf throws error that scratch org namespace must match Managed Package namespace. This blocker is not relevant for us as we mostly develop Unlocked Packages, and only use Managed Packages to store and distribute Secrets.
Steps To Reproduce
"ancestorVersion": "HIGHEST"
, for the package in sfdx-project.json"namespace": "",
It was a real hassle trying to generate a new namespace and linking it to the existing Dev Org. Failed multiple times with unknown error, so I haven't linked a repo this time
Expected result
Scratch org created successfully
Actual result
Error (1): The scratch org request namespace '[NO NAMESPACE]' must match Ancestor's (04tTe12345678) parent Package2 (0336N1234566) namespace 'test'.: Requested Package2 Ancestor IDs
System Information
The text was updated successfully, but these errors were encountered: