If I create a Date field and make it repeating, then when editing that Date field during node edit the Repeats settings are always displayed and Repeats defaults to Weekly. This is my versions:
date 7.x-2.6
calendar 7.x-3.4
ctools 7.x-1.0-beta1
views 7.x-3.3
drupal core 7.2

CommentFileSizeAuthor
create-event.png56.6 KBxpsusa

Comments

j-vee’s picture

Issue summary: View changes

Did you figure out a solution to this problem? I am now facing the exact same issue after updating to Drupal Commons 3.9.

j-vee’s picture

I managed to fix this issue by first opening /sites/all/modules/date/date_repeat/date_repeat.module
and finding the following function:
function date_repeat_freq_options()

There's an array declared in that function where I prepended the following line:
'NONE' => t('Don\'t repeat', array(), array('context' => 'datetime_singular')),

So the whole function looks like this:

/**
 * Helper function for FREQ options.
 */
function date_repeat_freq_options() {
  return array(
    'NONE' => t('Don\'t repeat', array(), array('context' => 'datetime_singular')),
    'DAILY' => t('Daily', array(), array('context' => 'datetime_singular')),
    'WEEKLY' => t('Weekly', array(), array('context' => 'datetime_singular')),
    'MONTHLY' => t('Monthly', array(), array('context' => 'datetime_singular')),
    'YEARLY' => t('Yearly', array(), array('context' => 'datetime_singular')),
  );
}

You'll have a new option in the Repeat frequency dropdown and when you choose NONE, the advanced repeat options below disappear and you can save the node.

Hope this helps someone else as well.