Open xcf33 opened 11 years ago
In crm_core_petition.module, there's an issue 'Trying to get property of non-object' when view site url in 'http://localhost/crmcoredemo/node'. Add an condition for $node = menu_get_object();
Now sample data seems ok for all features. One issue with Event feature has been assigned in issue #13. There're two Notices during the installation. Maybe one is with the sample data: Notice: Undefined property: stdClass::$field_crmer_reg_price in crm_core_event_registration_commerce_node_product_allow_sync() (line 638 of D:\Apache\crmcoredemo2\profiles\crm_core_np\modules\crm_core_features\crm_core_event_registration\crm_core_event_registration.module).
This Notice is kind of like the problem mentioned in issue #13. The other Notice is Notice: Undefined index: node in views_handler_field_field->access() (line 127 of D:\Apache\crmcoredemo2\profiles\crm_core_np\modules\contrib\views\modules\field\views_handler_field_field.inc)
For specific details for each feature, see code leaderboard.
Hi, I'd like this to become a standard for all the features we build, we will be able to generate sample data out of the box based on the installation and selection of ("load sample data")
You will need to uncomment line 262 on https://github.com/Trellon/crmcoredemo/blob/master/profiles/crm_core_np/crm_core_np.install
in order to test this
The sample data file is https://github.com/Trellon/crmcoredemo/blob/master/profiles/crm_core_np/modules/crm_core_features/crm_core_petition/crm_core_petition.sample_data.inc
Please note we are using some standard here
[module].sample_data.inc callback function is [module]_sample_data();