Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Customer
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2011 at 08:54 UTC
Updated:
8 Jul 2011 at 10:11 UTC
I used the hook_commerce_customer_profile_type_info() to implement a new customer profile type. It does show on the page, working well.
Then I added a views to list those entities,
Show [Commerce Customer Profile] of type [Billing information]
And then :
Notice: Trying to get property of non-object in commerce_customer_handler_filter_customer_profile_type->get_value_options() (line 12 of /media/nfsdrive/commerce/www/profiles/commerce_kickstart/modules/contrib/commerce/modules/customer/includes/views/handlers/commerce_customer_handler_filter_customer_profile_type.inc).
Notice: Trying to get property of non-object in commerce_customer_handler_filter_customer_profile_type->get_value_options() (line 12 of /media/nfsdrive/commerce/www/profiles/commerce_kickstart/modules/contrib/commerce/modules/customer/includes/views/handlers/commerce_customer_handler_filter_customer_profile_type.inc).
Comments
Comment #1
hazaJust fyi, I used commerce_kickstart but i remove the commerce module that came with it and git cloned it, so working with the dev version. ;)
Comment #2
hazaI have a patch in my sandbox.
See the (minor) changes there : http://drupalcode.org/sandbox/haza/1198696.git/commitdiff/7a746b9da84def...
Comment #3
rszrama commentedWoohoo! Added you as a remote and pushed it in. : )