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

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

@petter-eikeland

Description

@petter-eikeland

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions