Closed (fixed)
Project:
Commerce Registration
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
31 Jan 2013 at 23:14 UTC
Updated:
4 Jan 2014 at 02:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
poniesAnonymous users can checkout without any problems.
If I bypass the registration pane I get this error on review,
Notice: Undefined index: register_entities in commerce_registration_information_review() (line 335 of /var/www/drupal/sites/all/modules/commerce_registration/includes/commerce_registration.checkout_pane.inc).
EntityMetadataWrapperException: Missing data values. in EntityMetadataWrapper->value() (line 83 of /var/www/drupal/sites/all/modules/entity/includes/entity.wrapper.inc).
Comment #2
jpontani commentedTry the latest dev, I just committed a fix that should take care of the initial issue.
http://drupalcode.org/project/commerce_registration.git/commit/7e5aa90
Comment #3
mrfelton commentedI dont thin that fixes it. The problem seems to be that you are mixing up your own checkout form elements with other checkout form elements when you build the checkout pane. If you look at the way that ll other checkout panes do this, they start a fresh form array and build and return that, rather than modifying the $form array that gets passed to the checkout pane form builder function.
This is also having strange effects in causing some other checkout panes to render twice on the form.
Comment #4
poniesTrailing whitespace on line 9.
Checking out with a non-registration product throws this error for me:
Buying a product with registration works well. Might be a commerce_usps bug now.
Comment #5
mrfelton commented@ponies - that looks unconnected to this error. I'd suggest opening an issue about that in the commerce_usps queue
Comment #6
poniesI fixed the usps bug, applied #3 to dev and am receiving the same error:
Comment #7
mrfelton commentedUpdated patch without the whitespace issue
Comment #8
jpontani commentedLooks good, committed to dev. Thanks.
http://drupalcode.org/project/commerce_registration.git/commitdiff/886fd03
Comment #9
drummhttp://drupalcode.org/project/commerce_registration.git/commitdiff/7e5aa... isn't quite complete for this. Attached is a patch which updates the condition to match on validate and submit. To reproduce the issue, you need to be an admin who always has access to register.
Comment #10
jpontani commentedCommitted. Forgot that registration_status always is true for admins. Good catch.
http://drupalcode.org/project/commerce_registration.git/commitdiff/80a2f91
Comment #11
drummOne more of the same change.
Comment #12
poniesI think that last patch fixed it for me. Thank you!
Comment #13
jpontani commentedCommitted to dev. Thanks!
Comment #14.0
(not verified) commentedUpdated issue summary.