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

Postal address is validated when Address processing is disabled #731

Closed
vohmar opened this issue Feb 21, 2018 · 2 comments
Closed

Postal address is validated when Address processing is disabled #731

vohmar opened this issue Feb 21, 2018 · 2 comments
Assignees
Labels

Comments

@vohmar
Copy link
Contributor

vohmar commented Feb 21, 2018

Postal address validation should be enabled and disabled together with address processing setting available in admin interface (/admin/settings)

It is currently impossible to update contact data if postal address data is invalid on an existing contact object.

@artur-intech
Copy link
Contributor

artur-intech commented Feb 27, 2018

address data is invalid

is ambiguous.

Is it about invalid format of contacts.country_code? I need proper bug report.

@vohmar
Copy link
Contributor Author

vohmar commented Feb 28, 2018

if address processing is disabled then none of the address parameters must be validated. These include

  • street
  • city
  • postalcode
  • state
  • country

That goes validations that verify existence of the value and for rules that check existing value

In current bug example the problem appeared only in case address country code was filled with non ISO3166 value. The the address country code was missing contact update requests were processed successfully as expected.

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

No branches or pull requests

2 participants