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
65 stars 45 forks source link

[BUG] B2C_INSTANCENAME validator is wrong #254

Closed amezick closed 8 months ago

amezick commented 8 months 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 8 months ago

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

amezick commented 8 months ago

Need a comment to close.