On my site the Billing Information pane has been disabled during checkout, because all of the billing is handled by the external
When the Commerce Google Analytics module is enabled, there is an error during checkout:
Error message
EntityMetadataWrapperException: Unable to get the data property profile_id as the parent data structure is not set. in EntityStructureWrapper->getPropertyValue() (line 442 of /home/ubuntu/commerce_kickstart-7.x-1.8/profiles/commerce_kickstart/modules/entity/includes/entity.wrapper.inc).
The site was installed with the Commerce Kickstart profile, and the error appears in both 7.x-1.0-rc2 and -dev.
There are some other related modules installed such as Commerce Extra Panes, however disabling them seems to have no effect, while disabling CGA gets rid of the error.
Comments
Comment #1
forssto CreditAttribution: forssto commentedRan into this as well. Here's a patch that should make it work. It still defaults to the billing address, but falls back to shipping. If even that isn't found, it just sends empty strings as the location parameters.
Comment #2
stella CreditAttribution: stella commentedPatch reroll with the following changes:
Comment #3
jessepinho CreditAttribution: jessepinho commentedCan confirm that #2 works for me. Can we get this committed? This is a huge issue.
Comment #4
mrfelton CreditAttribution: mrfelton commentedPrevious patch assumes that commerce shipping is installed, and results in fata errors if no. Updated patch caters for the case where it isn't (added extra isset() check).
Comment #5
CyberschorschCommited in new 7.10 release
Comment #6
Cyberschorsch