Closed (fixed)
Project:
Ubercart VAT Number
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 Jul 2009 at 14:18 UTC
Updated:
29 Mar 2010 at 14:30 UTC
The european_countries list in uc_vat_number.js has leading zeros for the entries 040 and 056 (Austria and Belgium), which causes them to be interpreted as octal numbers. Belgium and Austria are therefor not considered European countries, so no VAT number entry is possible. A patch to remove these zeros is attached.
| Comment | File | Size | Author |
|---|---|---|---|
| uc_vat_number.js_.patch | 841 bytes | wimh |
Comments
Comment #1
wimh commentedThe same problem is also in uc_vat_number.module:uc_vat_number_checkout_validate()
Comment #2
attiks commentedI added a patch to #645260: Is there something wrong, which removes the leading 0 in the module file and disables the javascript stuff amongst other fixes
Comment #3
wimh commentedPatch removing leading 0 has been committed.