Posted by matteoraggi on November 10, 2009 at 10:56pm
| Project: | Zipcode (CCK) |
| Version: | 6.x-2.9 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Italian zip codes are composed of 5 numbers, nothing else. Maybe you can add these too?
Comments
#1
more info about it on wikipedia: http://en.wikipedia.org/wiki/List_of_postal_codes_in_Italy
#2
Added in 6.2.8 version
#3
Automatically closed -- issue fixed for 2 weeks with no activity.
#4
the check for italian zip codes admits only 4 digits codes, while italian zip codes are always 5 digits code.
should be enough to change the expression /^(V-|I-|IT-)?[0-9]{4}$/i with /^(V-|I-|IT-)?[0-9]{5}$/i
#5
The attached patch implements this fix in master.
#6
Fixed in 6e15b36.
#7
Automatically closed -- issue fixed for 2 weeks with no activity.