with version dev dated april 28 I have the following messages when I want to add a field:
Notice : Undefined index: exception dans calendar_plugin_display_attachment->display_granularity() (ligne 70 dans /homepages/42/d141549472/htdocs/mbc/drupal/sites/all/modules/calendar/includes/calendar_plugin_display_attachment.inc).
Notice : Undefined index: exception dans calendar_plugin_display_attachment->display_granularity() (ligne 70 dans /homepages/42/d141549472/htdocs/mbc/drupal/sites/all/modules/calendar/includes/calendar_plugin_display_attachment.inc).
Notice : Undefined index: field_data_field_date.field_date_value_value dans calendar_build_nodes() (ligne 598 dans /homepages/42/d141549472/htdocs/mbc/drupal/sites/all/modules/calendar/calendar.module).
Notice : Undefined index: exception dans calendar_plugin_display_attachment->display_granularity() (ligne 70 dans /homepages/42/d141549472/htdocs/mbc/drupal/sites/all/modules/calendar/includes/calendar_plugin_display_attachment.inc).
Notice : Undefined index: exception dans calendar_plugin_display_attachment->display_granularity() (ligne 70 dans /homepages/42/d141549472/htdocs/mbc/drupal/sites/all/modules/calendar/includes/calendar_plugin_display_attachment.inc).
Notice : Undefined index: exception dans calendar_plugin_display_attachment->display_granularity() (ligne 70 dans /homepages/42/d141549472/htdocs/mbc/drupal/sites/all/modules/calendar/includes/calendar_plugin_display_attachment.inc).
Comments
Comment #1
aqua_linksunten commentedI get the same error with (as of today) latest dev-versions of ctools, views, date, calendar, when importing a view. A blank page is presented when I try to edit an existing calendar-view.
Comment #2
pbuyle commentedI had the same issue and fixed it by editing my views' contextual date filters (ie. date arguments).
My views are provided by code and I needed to add
$handler->display->display_options['arguments']['date_argument']['exception'] = 'all';for all my contextual date filters. When the views are exported (through the UI), the code does not contain these lines.@pdeclarens are you working on this? Otherwise, I don't think the issue should be assigned to you?
Comment #3
Anonymous (not verified) commentedGot this error too with views from code, re-setting up the contextual date filter as described in #2 did indeed work
Comment #4
karens commentedViews re-named a value. You need to be using the latest version of Views or this won't work at all because their API changed. There is no apparent way for me to automatically fix it. Once you are using the right version of Views you need to edit your view and re-save the date argument (you don't need to change anything, just save it).
Comment #6
fathershawnI have the same error displaying the Upcoming block. I'm using the latest dev versions of all four components - Views dev as of 15 June.
Particularities:
Default Calendar view cloned, exported to code with the Features module. Attempting to edit the view results in:
The source of the error is related somehow to Views export/import. I was only getting this error on staging server. I was able to reproduce the error on dev by uninstalling the feature, deleting the view from the database and reenabling the feature module.
Comment #7
fathershawnThe common characteristic in this issue was exported cloned Calendar views. The code based view was from an earlier dev version and did not update with newer dev versions. Deleting all trace of the view, cloning the updated Calendar view and rebuilding the view in the clone eliminated the error even when imported into another install.