Using
Drupal core 7.x-dev - 2011-05-01
Date 7.x-2.x-dev - 2011-05-01

Adding content Create Date
Notice: Undefined index: repeat_collapsed in _date_repeat_widget() (line 45 of /srv/www/htdocs/DEVTEST/sites/all/modules/date/date_repeat.inc).
Line 45 is as follows: '#date_repeat_collapsed' => $instance['settings']['repeat_collapsed'],
widget type = Text field with date Pop-up and Repeat options.

Comments

scottrouse’s picture

Same issue.

Clean install of Drupal using:

  • Drupal Core 7.0
  • Date 7.x-2.x-dev — 2011-Apr-30
  • Calendar 7.x-2.x-dev — 2011-May-07
  • Ctools 7.x-1.x-dev — 2011-May-05

Steps to reproduce:

  1. Use Date Tools to create a date content type and associated Calendar View
  2. When you're taken to the Calendar View to edit it, look at all the nasty errors documented at #1137538: SQLSTATE[42000]: Syntax error or access violation
  3. Attempt to add a new node of your newly-created content type and receive the error:

    Notice: Undefined index: repeat_collapsed in _date_repeat_widget() (line 45 of /sites/all/modules/date/date_repeat.inc).
cord1’s picture

Tried to change line 45 from
'#date_repeat_collapsed' => $instance['settings']['repeat_collapsed'],
to
'#date_repeat_collapsed' => $instance['widget']['settings']['repeat_collapsed'],

The date was now registered, but new notice came up:
Notice: Undefined offset: 0 in date_combo_validate() (line 329 of /srv/www/htdocs/DEVTEST/sites/all/modules/date/date_elements.inc).
Notice: Undefined offset: 0 in date_combo_validate() (line 330 of /srv/www/htdocs/DEVTEST/sites/all/modules/date/date_elements.inc).
Notice: Undefined index: rrule in _date_repeat_widget_validate() (line 68 of /srv/www/htdocs/DEVTEST/sites/all/modules/date/date_repeat.inc).

It was a try, Hopefully we hear from the developers.

niek_kloots’s picture

Date 7.x-2.x-dev version 2011-May-01
Views 7.x-3.x-dev version 2011-May-12

Fresh install Drupal 7.0

Same problem and with letting the date wizard tool add blocks I now have 2 calendar blocks and 2 upcoming blocks.
1 of both visible the others available as blocks in the list.

alibama’s picture

same error using dev versions of views, date, calendar, and ctools.... on fresh install of d7

karens’s picture

Status: Active » Fixed

Should now be fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.