Open vitapramdevputra opened 3 years ago
Error while creating scratch org with order management feature enabled.
I am using docker file in GitHub Actions, to facilitate continues deployment. GitHub actions workflow runs on [self hosted, linux, x64]
"features": ["Communities", "B2BCommerce", "OrderManagement", "PersonAccounts"], "settings": { "lightningExperienceSettings": { "enableS1DesktopEnabled": true }, "experienceBundleSettings": { "enableExperienceBundleMetadata": true }, "communitiesSettings": { "enableNetworksEnabled": true }, "orderManagementSettings": { "enableOrderManagement": true }, "orderSettings": { "enableOrders": true, "enableEnhancedCommerceOrders": true, "enableOptionalPricebook": true } }
1. sfdx-project.json has version 48 as shown below:
{ "packageDirectories": [ { "path": "force-app", "default": true } ], "namespace": "", "sfdcLoginUrl": "https://login.salesforce.com", "sourceApiVersion": "48.0" }
Scratch org should be created without any errors. It is, when we run the same command for the same repository without docker file.
Gives error as below (Property 'enableEnhancedCommerceOrders' not valid in version 47.0)
Property 'enableEnhancedCommerceOrders' not valid in version 47.0
'sourceOrg'
Again, docker file is running absolutely fine for two other repositories, where we are not enabling these many features.
Running on github action with self hosted, Linux, x64 VM:
Summary
Error while creating scratch org with order management feature enabled.
Background
I am using docker file in GitHub Actions, to facilitate continues deployment. GitHub actions workflow runs on [self hosted, linux, x64]
Steps To Reproduce:
1. sfdx-project.json has version 48 as shown below:
Expected result
Scratch org should be created without any errors. It is, when we run the same command for the same repository without docker file.
Actual result
Gives error as below (![image](https://user-images.githubusercontent.com/20125676/127860500-cab9b0d5-6d97-45b5-b53f-bfc1c4778b7b.png)
Property 'enableEnhancedCommerceOrders' not valid in version 47.0
)Additional information
'sourceOrg'
in definition file.Again, docker file is running absolutely fine for two other repositories, where we are not enabling these many features.
Running on github action with self hosted, Linux, x64 VM: