Closed (fixed)
Project:
Addresses
Version:
6.x-1.0-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Sep 2008 at 06:13 UTC
Updated:
8 Oct 2008 at 23:13 UTC
Massa,
Steps:
1. Click on "Add Address" (or create a new user)
2. Select a country with provinces, but do not enter anything in the province field
3. Click on Save
You get an error saying that the "" province is no good for that country.
The patch let go if the province is not defined. If it is required, the normal Drupal form will catch the error anyway.
Also, I optimized by computing the field name only if an error occurs.
Thank you.
Alexis
| Comment | File | Size | Author |
|---|---|---|---|
| addresses-fix-province-validate-6.4-1.x.patch | 1.25 KB | AlexisWilke |
Comments
Comment #1
brmassa commentedAlexis,
great work. commited.
regards,
massa
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.