First, I want to say amazing work on Date and Calendar - they've come light-years since I first started trying them in late 2006, and I'm really looking forward to using them with D6. Karen, you give so much to the community...
OK, my problem :-)
I'm trying to make the simplest kind of calendar with Views 2, Date, and Calendar.
1) created custom "Event" content type with a single date field, optional "To" time, and optional repeat
2) Modified default calendar view to use my custom date/time field rather than node updated date/time
3) created 2 event nodes with start and end dates and times, selected "Repeat every week"
result: repeating events are created with recurrences that skip every other week.
Any ideas?
Versions
-----------
PHP 4.4.6
Drupal 6.5 core
Views 6.x-2.0 (release)
Content Construction Kit (CCK) 6.x-2.0-rc10
Date 6.x-2.x-dev (2008-Oct-19)
Calendar 6.x-2.x-dev (2008-Oct-19)
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | screenshot.jpg | 19.35 KB | dchampine |
Comments
Comment #1
laken commentedBump - this seems like a critical issue for those who use repeating events.
Any help? Is there more information I should have provided?
Comment #2
dchampine commentedI am also seeing this problem.
Comment #3
karens commentedThere is at least one other report of this somewhere that I have replied on. I can't replicate this at all, so it has something to do with either the specific way it was done or the environment it was done in. So I need lots more details than 'me too' to be able to do anything about it.
I need to know exactly what kind of date field and widget you're using (an export of the field using Content Copy will show me that).
I need to know exactly what options you selected when you created the repeat (a screen shot or explanation of *every* box that you selected or left unselected and what you used as a starting date).
I need to know what kind of environment you're on -- PHP and MYSQL version, timezone settings for the site and user (if configurable).
And we need to find the duplicate issues and put them all together so this is manageable and I'm not repeating things over and over in different threads. Please help by finding the others and marking them dupes and copying into this thread anything relevant.
The repeat logic is the same in D5 and D6, so this is a problem that should be the same problem and the same solution in both versions, so we don't need separate issues for each.
Comment #4
dchampine commentedHere is more info (I've been scouring support issues and will keep my eye out for other duplicates - this seemed closest so I hopped on rather than creating a duplicate). This does not happen for every event but it has happened with recently created events (such as example below). It's hard to pinpoint the exact date it began as there were issues with new versions of CCK, Views, and Date around this time that made things a bit hectic. I only noticed that this was happening after the fact due to the nature of the symptom. I'm happy to help gather information but I don't have PHP skills (which means you can be sure I haven't modified anything). I've been following the 6.x module from very early on and really appreciate all the enhancements and fixes. Let me know what other information I can provide. Feel free to see the module in action at http://marinlocalmusic.com
Dave
Drupal =6.4, PHP=5.1.6, MYSQL=5.0.45
screenshot of field config attached
Using site timezone set to Pacific - user also Pacific
It seems to occur mostly on Mondays and Tuesdays (but it may just be more noticeable as those days have more repeating events)
example output from the repeat tab shows that no exceptions were set in the repeat pattern, yet some weeks are missing.
Time:
09/15/2008 9:00pm - 11:45pm
Repeats every Monday every week until Wed Dec 31 2008
09/22/2008 9:00pm - 11:45pm
10/06/2008 9:00pm - 11:45pm
10/20/2008 9:00pm - 11:45pm
11/03/2008 9:00pm - 11:45pm
11/17/2008 9:00pm - 11:45pm
12/01/2008 9:00pm - 11:45pm
12/15/2008 9:00pm - 11:45pm
12/29/2008 9:00pm - 11:45pm
Comment #5
jlevis commentedI had the same problem. I had created an event that repeated every week on Tuesdays and Thursdays. When I saved it, it was showing that it skipped a week each time.
I was going to post all the information KarenS had asked for to help with the bugfixing. In doing so, I noticed that I hadn't set my timezone yet, so I did so under: Administer -> Site configuration -> Date and time.
After that, I went to create a new repeating event to reproduce the problem with skipped weeks, but now it is no longer happening. I even went back and re-saved the original event that had the problem and it corrected itself.
The only thing I had changed was setting my timezone. I can't unset it to test again, so I'm not sure if that's what fixed it or not. Maybe one of the others who are having this problem could try it and see if it works for them.
I will be working with this extensively in the next while, so I will post again if the problem re-surfaces.
Comment #6
karens commentedI'm going to move you all over to issue #319452: Dates are missing for repeated dates where I think I am in the process of figuring this out. Please look at my last post there and see if your problems seem to fit that pattern. If so, we'll follow up there.
And not having your site timezone set would definitely screw up the results, so be sure to check that.
Comment #7
karens commentedI found and fixed some things in #319452: Dates are missing for repeated dates and I am hopeful that those fixes will clean up all these problems, so I'm going to mark it 'fixed', but you can reopen the other issue if it isn't.
The changes are in cvs now. If you use the tarball, they'll be in the -dev tarball tonight sometime, by tomorrow for sure.
Comment #8
laken commentedThanks for working on this Karen. I'm sure it's frustrating when duplicate issues are posted in your queue. I assure you I look carefully at the queue before creating issues, and I'm sorry that in this case I missed #319452: Dates are missing for repeated dates.
I look forward to testing the patch and giving my feedback. Thanks again for all your great work!