Skip to content
This repository has been archived by the owner on Mar 18, 2024. It is now read-only.

Prepare does not support -c flag for scratch org creation #1451

Open
petter-eikeland opened this issue Jan 14, 2024 · 0 comments
Open

Prepare does not support -c flag for scratch org creation #1451

petter-eikeland opened this issue Jan 14, 2024 · 0 comments
Labels

Comments

@petter-eikeland
Copy link

Describe the bug
To fix this SF issue when creating a scratch org, the -c flag must be utilized upon scratch org creation in Prepare:
forcedotcom/cli#2642.

To Reproduce
Steps to reproduce the behavior:

  1. Have Managed package specified in sfdx-project.json with "ancestorVersion": "HIGHEST"
  2. Run sfp orchestrator:prepare

Expected behavior
Prepare should successfully execute

Actual behavior
Prepare fails with A scratch org creation was rejected due to The scratch org request namespace '[NO NAMESPACE]' must match Ancestor's (04tTe000000123) parent Package2 (0336N000000abc) namespace 'bicx'.: Requested Package2 Ancestor IDs

Screenshots
image

Platform Details (please complete the following information):

  • OS: Linux
  • Version [e.g. CLI Version eg: 1.6.6]: sfp: 24.5.0 (August 23)
  • Salesforce CLI(sfdx cli) Version: sf version as specified in sfp 24.5.0
  • CI Platform: Azure DevOps
@github-actions github-actions bot added the analysis To be decided on how to solution/fix label Jan 14, 2024
@azlam-abdulsalam azlam-abdulsalam removed the analysis To be decided on how to solution/fix label Feb 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants