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

Error with contactPointAndDeploy() (Sharing Setting Deployment), After QuickStart Step 5, #327

Open
avaHitesh-github opened this issue Aug 14, 2024 · 0 comments

Comments

@avaHitesh-github
Copy link
Contributor

Running the sfdx command:

sf commerce:store:create -n b2bStore01 -o b2b -b [email protected] -f ./config/b2b-store-scratch-def.json -u b2b_aug_14 -v devhub

failing after 'quickstart step 5' -
failing in the contactPointAndDeploy() function, specifically while deploying the sharing rules/experience-bundle zip

Also, I tried running through 'develop' branch source code and faced the same error

error:
unable to capture full error as it's a long string getting trimmed in the terminal.

{ "fullName": "WorkPlanSelectionRule", "type": "SharingRules", "state": "Unchanged", "filePath": "sharingRules/WorkPlanSelectionRule.sharingRules" }, { "fullName": "WorkPlanTemplate", "type": "SharingRules", "state": "Unchanged", "filePath": "sharingRules/WorkPlanTemplate.sharingRules" }, { "fullName": "WorkStepTemplate", "type": "SharingRules", "state": "Unchanged", "filePath": "sharingRules/WorkStepTemplate.sharingRules" }, { "fullName": "WorkThanks", "type": "SharingRules", "state": "Unchanged", "filePath": "sharingRules/WorkThanks.sharingRules" }, { "fullName": "WorkType", "type": "SharingRules", "state": "Unchanged", "filePath": "sharingRules/WorkType.sharingRules" }, { "fullName": "WorkTypeGroup", "type": "SharingRules", "state": "Unchanged", "filePath": "sharingRules/WorkTypeGroup.sharingRules" } ] }, "warnings": [], "command": "sf project deploy start -o \"[email protected]\" -g --metadata-dir='/Users/[email protected]/.commerce/devhubs/avalaraincATisveditionDOTorg/b2b_aug_14ATavaDOTdemo/b2bStore01/experience-bundle-package/b2bStore011ToDeploy.zip' -w 60 --verbose --single-package --api-version=61.0 --json" }

sf -v:
@salesforce/cli/2.45.6 darwin-arm64 node-v20.14.0

sf plugins:
`@salesforce/commerce 252.0.0
@salesforce/sfdx-scanner 4.2.0 (latest-beta)
community 3.2.18
sfdmu 4.33.17
shane-sfdx-plugins 4.43.0
├─ @mshanemc/plugin-streaming 1.1.7
└─ @mshanemc/sfdx-sosl 1.1.0
signups 2.3.12 (2.3.12)

Uninstalled JIT Plugins:
custom-metadata 3.3.11
dev 2.3.1
devops-center 1.2.13
env 3.0.30
functions 1.23.0
@salesforce/sfdx-plugin-lwc-test 1.2.0`

Initial Setup
Created the scratch org using the command:
sf org create scratch -f ./config/project-scratch-def.json -a b2b_aug_14

project-scratch-def.json file contents (copied from example json):
{ "orgName": "AvaTax B2B Lex", "country": "us", "language": "en_US", "edition": "Developer", "features": ["Communities","B2BCommerce","B2BAuraTemplateEnabled","OrderManagement","EnableSetPasswordInApi","Multicurrency","CommerceConsoleAppEnabled","OrderSaveLogicEnabled"], "username": "[email protected]", "settings": { "lightningExperienceSettings": { "enableS1DesktopEnabled": true }, "experienceBundleSettings": { "enableExperienceBundleMetadata": true }, "communitiesSettings": { "enableNetworksEnabled": true }, "orderManagementSettings": { "enableOrderManagement": true }, "orderSettings": { "enableOrders": true, "enableEnhancedCommerceOrders": true, "enableOptionalPricebook": true }, "commerceSettings": { "commerceEnabled": true }, "addressSettings": { "countriesAndStates": true } } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant