If I switch the line item field widget on the Order field settings to inline entity form, and view either /new or /edit, I receive this error when adding a new item:
Notice: Undefined index: line_item_id in commerce_registration_form_commerce_order_ui_order_form_alter() (line 711 of [...]/contrib/commerce_registration/commerce_registration.module).
and then this error when I try to edit:
EntityMetadataWrapperException: Invalid data value given. Be sure it matches the required data type and format. in EntityDrupalWrapper->set() (line 744 of [...]/contrib/entity/includes/entity.wrapper.inc).
That or they are both firing at the same time for either AJAX request. What's goin on here? It's probably worth noting that I am using the commerce_custom_line_items module. Entity and IEF are both dev.
Comments
Comment #1
rerooting commentedObviously something funky is happening with Commerce Registration. IEF works fine with Commerce Registration disabled. Is this on IEF's end or is it with Commerce Registration?
Comment #2
rerooting commentedOk! Works with commerce_registration-7.x-3.x-dev - just tested both with registration line items and custom line items. Hopefully anyone who runs into this issue can find this and know what to do!
Comment #3
mknapik commentedJust wanted to confirm that I have the same issue. When I turned off registration, it started working again.
Comment #3.0
mknapik commentedobfoosimacated