Repeatable sequence:
Orders > Create Order
E-mail: user+test@gmail.com
"Invalid e-mail address.
Use this account now?
User 14 - user test@gmail.com"
Apply
"Primary e-mail: user test@gmail.com"

Which is not what was entered and does not follow email standards. See http://en.wikipedia.org/wiki/Email_address#Address_tags and http://tools.ietf.org/html/rfc3696

Comments

tr’s picture

Status: Active » Postponed (maintainer needs more info)

Please test the -dev version of Ubercart to see if this is still a problem.

todd zebert’s picture

I installed the 2010-Nov-17 DEV, ran update, and repeated the test: same incorrect handling.

tr’s picture

Status: Postponed (maintainer needs more info) » Active
longwave’s picture

Status: Active » Needs review
StatusFileSize
new4.88 KB

The customer search form sends the field values as arguments in a URL, but when doing this, any plus symbols get decoded to spaces by the web server (this is by design, see RFC 2396 appendix G.2).

The attached patch fixes this by POSTing the search parameters, for both the existing customer and new customer forms, and it also correctly escapes the supplied data in the resulting SQL query.

todd zebert’s picture

I applied the patch using UC 2.x-Dev 2010-Nov-28.

Retested as above, and moved past the last error, so I progressed:

I checked "E-mail customer account details."
Create order
Added some billing info, products, comments, save changes
Invoice > mail invoice > mail invoice

I received both emails "An administrator created an account for you" and "Your Order Invoice"

It seems to be working perfectly. Thanks!

todd zebert’s picture

Will this get reviewed and placed into Dev?

todd zebert’s picture

It's NOT in Dev as of 6.x-2.x-dev (2010-Dec-10)

What should my expectation be for timing?

Thanks!!

todd zebert’s picture

Status: Needs review » Reviewed & tested by the community

patched successfully against 6.x-2.x-dev (2010-Dec-10) and testing working.

Island Usurper’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the review, Todd. Sorry about the delay.

Committed.

todd zebert’s picture

Status: Fixed » Closed (fixed)

Thanks @Island Usurper, no worries, I'm just learning how to help with the issue queue.

I retested as above using Ubercart 6.x-2.x-dev (2011-Jan-21) and it worked.

Thanks!

longwave’s picture

Status: Closed (fixed) » Patch (to be ported)

Needs porting to 7.x.

Island Usurper’s picture

Version: 6.x-2.4 » 7.x-3.x-dev
Status: Patch (to be ported) » Needs review
StatusFileSize
new5.16 KB

Patch for Drupal 7.

Island Usurper’s picture

StatusFileSize
new3.93 KB

Oops. Too much included in that patch.

longwave’s picture

StatusFileSize
new7.23 KB

Updated patch attached that includes #13 and also fixes the search customer/create order functionality so it works properly in D7.

This feature should probably all be moved over to full AJAX functionality, but I didn't have time to change all that.

longwave’s picture

Status: Needs review » Fixed

Committed #14.

tr’s picture

Status: Fixed » Active

I think the issue from #903292: problems with wildcards in customer search needs to be addressed in these patches ...

longwave’s picture

Status: Active » Fixed

That issue is related to the customers page, this is the separate search facility on the new/edit order pages. Wildcard searches work for me, but reopen if you find problems.

Status: Fixed » Closed (fixed)

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