Details
-
Type:
Bug
-
Status: Done/Fixed
-
Priority:
Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.1.5
-
Fix Version/s: 4.2.0
-
Component/s: Core CiviCRM
-
Labels:
Description
Trying to create views with grid of calendar views for civievents causes a fatal error because calendar_plugin_row_civicrm.inc uses a Class that has been depreciated in the current version of calendar module.
Fatal error: Class 'calendar_plugin_row_node' not found in modules/civicrm/drupal/modules/views/plugins/calendar_plugin_row_civicrm.inc on line 25
Attachments
Issue Links
- is supplemented by
-
CRM-10654 Views Integration should use native datetime handler instead of custom hack
-
- Done/Fixed
-
I have swapped out the old class and fixed up the code to be in line with the new one. However that didn't fix the problem. Had to go pretty far down the rabbit hole to find an alternate way of handling dates, and created a fix for events.
This fix really ought to be applied to all Civi date fields, as the current civicrm_views date handler is kind of obsolete. Doing so would break existing views tho, so would also need an upgrade script.