My goal is for a repeat rule to display only if it has been set.

If I do not set a repeat rule when creating a node (don't even uncollapse down the repeat box), it displays "Repeats every 0 days except Mon Dec 26 2011. " on the node, which means that it stores an exception when I have not entered one (presumably it picks today's date, even though on the date field's settings I have turned off all defaults).

If I go in and turn off the exception by manually blanking the exception fields it then says "Repeats every 0 days . " - this is when every repeat rule field is set blank / no value.

BTW I'm using display suite to manage the display of the nodes. I tried to fix it by unsetting the value within the node object if it contained certain strings and other tricks but I can't get it to work (presumably because of how display suite handles the fields for display) and wondered if I was just being an idiot or if other people experienced this - and if there was a solution?

A big thanks to KarenS btw for fixing the last date repeat issue concerning until dates btw - it was one of my major blockers! :)

Comments

Daedalon’s picture

I couldn't repeat this on 7.x-2.0-rc1 with or without Display Suite 7.x-1.4. I saved a node without touching date fields at all and with DS off, and even while trying different content type display settings, didn't get the node to display date repeat information. Turned DS on and tried different content type settings again, no difference in results.

What are the exact steps you do to produce this problem? Do you have other modules or Views active that might interfere with this? Does this happen only with 7.x-2.x-dev or can you reproduce it with 7.x-2.0-rc1 as well?

karens’s picture

Status: Active » Fixed

There have been fixes put in since this was reported. I can't reproduce it in latest code.

Status: Fixed » Closed (fixed)

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