Skip to content

Incorrect warning when creating a scratch org from snapshot #3562

@dcstuff

Description

@dcstuff

Summary

Steps To Reproduce

When creating a scratch org off a snapshot, I get the following warning: Scratch org definition validation in orgConfig: edition: Invalid input: expected string, received undefined
But as we alllll know, the scratch org definition file in this case uses the snapshot option and not the edition option.
https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_snapshots_create_scratch_org.htm

Expected result

No such warning should appear.

Actual result

Warning: Scratch org definition validation in orgConfig: edition: Invalid input: expected string, received undefined

Additional information

scratch-def-json

{
  "orgName": "blah",
  "snapshot": "blahblah"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    more information requiredIssue requires more information or a response from the customer

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions