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 when we add customer (with B2B enabled) if there is a specific character in field SIRET #16167

Closed
felipesml opened this issue Oct 29, 2019 · 1 comment

Comments

@felipesml
Copy link

@felipesml felipesml commented Oct 29, 2019

Hi there all!
I have an issue that make me crazy. I need to know how prestashop 1.7.6 do validation of SIRET field into BackOffice (RUT in chilean).
In 1.7.5 version is Ok, but in the new version prestashop show me "content field is invalid", anyone knows where is the line to change the validation in 1.7.6 version?, I need complete this data with a "-" like "12345678-K"
errorpng

Cheers

@sarahdib

This comment has been minimized.

Copy link

@sarahdib sarahdib commented Oct 29, 2019

Hello @felipesml

Thank you for the bug report.

I reproduce the issue in 1.7.6.1 : https://drive.google.com/file/d/1dVodQURZFCOAA39F2j3jnhBRJl-IXvJR/view

In 1.7.5.2 it's OK : https://drive.google.com/file/d/1zSlDQyLxQY_Ckha2HcSpZ1INvQve4puI/view

Step to reproduce :
B2B mode need to be activated in Shop Parameters -> Customers Settings

  1. Go to BO -> Customer
  2. Click on "Add a customer"
  3. Set up information and in the siret field set up : 12345678-K
  4. See the error

I’ll add this to the debug roadmap so that it’s fixed. If you have already fixed it on your end or if you think you can do it, please do send us a pull request!

Thanks!

@sarahdib sarahdib added this to Backlog in PrestaShop 1.7.6 via automation Oct 29, 2019
@sarahdib sarahdib changed the title SIRET BO validation Error when we add customer (with B2B enabled) if there is a specific character in field SIRET Oct 29, 2019
@marionf marionf added the 1.7.6.0 label Oct 29, 2019
@matthieu-rolland matthieu-rolland self-assigned this Oct 29, 2019
@matthieu-rolland matthieu-rolland moved this from Backlog to In progress in PrestaShop 1.7.6 Oct 29, 2019
@sarahdib sarahdib moved this from In progress to To be merged in PrestaShop 1.7.6 Oct 29, 2019
@sarahdib sarahdib added this to the 1.7.6.2 milestone Oct 29, 2019
@marionf marionf added Fixed and removed To Do labels Oct 29, 2019
@marionf marionf closed this Oct 29, 2019
PrestaShop 1.7.6 automation moved this from To be merged to Done Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.