Details
-
Type:
Bug
-
Status: Done/Fixed
-
Priority:
Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.2.0, 2.2.1
-
Fix Version/s: 2.2.2
-
Component/s: Drupal Integration Modules
-
Labels:None
Description
When assigning participant fields to a drupal view an error occurs on the participant source and participant fee level fields. I have corrected this as follows.
file: civicrm/drupal/modules/views/civicrm.views.inc
1.
array key 'Fee Level' causing mysql error
line 1507: $data['civicrm_participant'][Fee Level] = array(
should be: $data['civicrm_participant']['fee_level'] = array(
2.
causing Error: handler for civicrm_participant > fee_level doesn't exist!
line 1433: 'handler' => 'civicrm_handler_field',
should be: 'handler' => 'views_handler_field',
3.
causing Error: handler for civicrm_participant > fee_level doesn't exist!
line 1511: 'handler' => 'civicrm_handler_field',
should be: 'handler' => 'views_handler_field',