After applying the patch from #1637674: Add the option for address copying checkout panes to make copying the default, I started getting undefined index warnings in checkout like the following:

Notice: Undefined index: field_customer_billing_phone in commerce_customer_profile_pane_checkout_form() (line 164 of commerce/modules/customer/includes/

It's because the field_customer_billing_phone doesn't exist on the target customer profile (shipping).

Attached patch fixes this.

#5 commerce-undefined-index-1821110-4.patch1.38 KBmakangus
PASSED: [[SimpleTest]]: [MySQL] 3,570 pass(es). View
profile_copy_undefined_index_errors.patch1.03 KBstella
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch profile_copy_undefined_index_errors.patch. Unable to apply patch. See the log in the details link for more information. View
Members fund testing for the Drupal project. Drupal Association Learn more


Status: Needs review » Needs work

The last submitted patch, profile_copy_undefined_index_errors.patch, failed testing.

IckZ’s picture

Status: Needs work » Reviewed & tested by the community

thanks! this works for me and should be supplied!

rszrama’s picture

Status: Reviewed & tested by the community » Needs work

If it failed testing, it isn't ready to be committed. ; )

IckZ’s picture

there seems to be a failure in the patch syntax only. I'm sorry but I cant make patches better.. :) Check the one line manually and you'll see that it works ;)

makangus’s picture

Status: Needs work » Needs review
1.38 KB
PASSED: [[SimpleTest]]: [MySQL] 3,570 pass(es). View

How about this?

rszrama’s picture

Status: Needs review » Fixed

Worked for me and test bot; committed! Thanks. : )

Status: Fixed » Closed (fixed)

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