Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
petter-eikeland opened this issue Jan 22, 2024 · 1 comment · Fixed by #9
Closed

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

petter-eikeland opened this issue Jan 22, 2024 · 1 comment · Fixed by #9
Assignees
Labels
enhancement New feature or request
Milestone

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
@azlam-abdulsalam
Copy link

@petter-eikeland I see, i will update the internal libraries, and enable the flag. sfp do not use the sf cli directly

@azlam-abdulsalam azlam-abdulsalam added enhancement New feature or request and removed analysis labels Jan 25, 2024
@azlam-abdulsalam azlam-abdulsalam self-assigned this Jan 25, 2024
@azlam-abdulsalam azlam-abdulsalam added this to the February 2023 milestone Jan 25, 2024
@Rocko1204 Rocko1204 self-assigned this Feb 4, 2024
@Rocko1204 Rocko1204 linked a pull request Feb 4, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants