Closed (fixed)
Project:
UC Google Checkout
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2008 at 22:46 UTC
Updated:
5 Nov 2008 at 19:32 UTC
In database queries the google-order-number is treated as an int (%d) but it can be bigger than 2^31 bits. This causes 2147483647 to be used as the google-order-number for every order number over 2^31 bits. Replacing %d with %s in the database queries fixes this, and is more in line with the database schema as the google-order-number is stored as a varchar.
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| uc_google_checkout-google-order-number-overflows-int.patch | 2.3 KB | aphahn |
Comments
Comment #1
Island Usurper commentedThis was finally brought to my attention elsewhere, so it's now fixed.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.