Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.1
Component:
Customer
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2011 at 18:16 UTC
Updated:
3 Jan 2012 at 20:50 UTC
The default formatter defined for commerce_customer_profile_reference is commerce_customer_profile_reference_view but this formatter is not implemented by the module, the field formatter is actually called commerce_customer_profile_reference_display. If you use the customer profile reference field to, say, add a reference to shipping infomation to the order entitiy then it will not render.
The workaround is to use hook_field_info_alter to change the default formatter to commerce_customer_profile_reference_display but it should be fixed in commerce_customer.module.
Comments
Comment #1
rszrama commentedWorkaround not necessary - this obviously needed to be fixed in core. Nice catch! Committed.