Closed (fixed)
Project:
e-Commerce
Version:
master
Component:
address.module
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
9 Sep 2005 at 18:55 UTC
Updated:
2 May 2006 at 16:16 UTC
Jump to comment: Most recent file
Here is the patch for email validation during anonymous user checkout process.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | address_2.patch | 1.89 KB | Gunny-1 |
| #3 | address_1.patch | 1.69 KB | Gunny-1 |
| address_0.patch | 998 bytes | Gunny-1 |
Comments
Comment #1
matt westgate commentedLet's reuse
valid_email_address($mail)in common.inc. Care to whip up a fresh patch?Comment #2
jxs2151 commentedTrying to patch and getting this message:
patching file address.module
Hunk #1 FAILED at 51.
Hunk #2 FAILED at 95.
2 out of 2 hunks FAILED -- saving rejects to file address.module.rej
I tried it against the 4.6.0 address.module and the cvs address.module
Comment #3
Gunny-1 commentedHere is the modified patch using valid_email_address($mail). Looks like the cvs version has been updated recently, accordingly i have modified the patch.
Comment #4
Gunny-1 commentedThe email address was not showing up on the checkout preview form with the previous patch but not anymore with this patch.
Comment #5
jxs2151 commentedI downloaded the cvs ecommerce module. I then downloaded the address_2.patch and executed patch < address_2.patch and got:
patching file address.module
Hunk #2 FAILED at 64.
1 out of 4 hunks FAILED -- saving rejects to file address.module.rej
address.module.ref contains this:
Am I doing something wrong?
Comment #6
Gunny-1 commentedif you go through the attached patch, its just few lines and you can also see which lines you go to remove (-) and which ones to add (+) in address.module.
I used cygwin patch utility, not sure why its not working in your case. the patch command i used ,
diff -u -F ^function address.module address_2.module > address_2.patch
Comment #7
Gunny-1 commentedMathias, i would appreciate if you can review this patch. thanks
Comment #8
jxs2151 commentedI am a little confused. Does address_2.patch patch the 4.6.3 version of the module or the CVS version?
Comment #9
Eglish commentedThis looks to be fixed. Here's the code from address.module version 1.37
Comment #10
Eglish commentedwhoops, forgot to change the status.
Comment #11
(not verified) commented