Posted by ezra-g on February 28, 2011 at 5:42am
1 follower
| Project: | Signup Integration for Ubercart |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs work |
Issue Summary
1) Anonymous users lack the "purchase signups for other users" permission.
2) Anonymous user starts checkout process and enters abc@example.com as her email address
3) Anonymous user realizes (or is prompted) that she has a user account on the site
4) Anonymous user logs in with her existing account, associated with email address (def@example.com) and resumes uc_signup checkout workflow
5) Now authenticated user sees abc@example.com as the attendee being signed up but this does not correspond to her email address. Submitting the "next" button causes a validation error, This email address corresponds to an existing account..."
| Attachment | Size |
|---|---|
| uc_signup_edge_bug_limit.patch | 1 KB |
Comments
#1
We need to be sure to set the right email address in the $_SESSION, not just the form.
#2
This patch should actually apply.
#3
This is committed.
http://drupalcode.org/project/uc_signup.git/commit/69e5fa2
#4
- if (user_is_logged_in() && (!uc_signup_user_is_signed_up($account->mail, $event['nid']) || !$allow_multiple)) {+ if (user_is_logged_in() && !uc_signup_user_is_signed_up($account->mail, $event['nid'])) {
Somehow this got removed between patches.