Posted by wimh on July 30, 2009 at 2:18pm
Jump to:
| Project: | Ubercart VAT Number |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | wimh |
| Status: | closed (fixed) |
Issue Summary
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.
| Attachment | Size |
|---|---|
| uc_vat_number.js_.patch | 841 bytes |
Comments
#1
The same problem is also in uc_vat_number.module:uc_vat_number_checkout_validate()
#2
I 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
#3
Patch removing leading 0 has been committed.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.