SalesforceCommerceCloud / b2c-crm-sync

... a contemporary perspective on how to integrate B2C Commerce and the Salesforce Customer 360 Platform to power frictionless customer experiences in the B2C domain.
https://salesforcecommercecloud.github.io/b2c-crm-sync/
BSD 3-Clause "New" or "Revised" License
64 stars 49 forks source link

[BUG] B2C_INSTANCENAME validator is wrong #254

Closed amezick closed 1 year ago

amezick commented 1 year ago

Describe the bug The validator says that B2C_INSTANCENAME "must start with a letter -- and only contain letters and numbers" In a world of On Demand Sandboxes this is not true. All of my sandbox names of of the format [4 letter REALM_ID]-[3 digit number].dx.commercecloud.salesforce.com. These names are automatically assigned.

To Reproduce Steps to reproduce the behavior:

  1. Create a SFCC ODS
  2. follow the steps to set up the B2C Commerce Configuration Properties
  3. Run the validations. Especially 'npm run crm-sync:b2c:verify'
  4. notice the validation error that is wrong.

Expected behavior Not to have a validation error on a system generated name.

Screenshots image

Your local environment details:

Your remote environment details:

Additional context Add any other context about the problem here.

amezick commented 1 year ago

N/m. I just got to the step where it is used. This is a SFDC requirement not and SFCC requirement.

amezick commented 1 year ago

Need a comment to close.