Title says it all really: If you enter registration information, "Continue to next step" and then click "Go Back" on the next page, your "This registration is for" field is not set, defaulting to "- Select -"
Patch coming soon..
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | commerce_registration-missing_default_values-1836040-3.patch | 1.97 KB | tmsimont |
Comments
Comment #1
tmsimont commentedit looks like this is because the registration entity's registration_id is not set
Comment #2
tmsimont commentedIt looks like the referenced user comes back empty as well. This is all related to the fact that the Registration object is new and doesn't have an id yet, or a referenced user object:
from
registration_form():These lines of code in the registration module fail in the use case of commerce_registration. The registration module set these functions up not expected a "new" Registration entity to be loaded into the form.
Patch imminent
Comment #3
tmsimont commentedpatch
Comment #4
jpontani commentedCommitted in 85dfa35. Thanks!
http://drupalcode.org/project/commerce_registration.git/commit/85dfa35