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

#2

Status:active» fixed

Added in 6.2.8 version

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#4

Version:6.x-2.6» 6.x-2.9
Component:Miscellaneous» Code
Category:feature request» bug report
Status:closed (fixed)» needs work

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

Status:needs work» needs review

The attached patch implements this fix in master.

AttachmentSize
zipcode-it-regex.patch 499 bytes

#6

Status:needs review» fixed

Fixed in 6e15b36.

#7

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here