Setting up a repeat event (with event cvs and event repeat cvs) the end date does not seem to have any effect. I simply get hundreds of the event repeated (with the correct frequency) but they don't stop on the correct date.

If I page through the calendar to see when the repeats stop, after a few months I start to get these errors appearing:

user warning: Duplicate entry '1-497' for key 1 query: INSERT INTO term_node (nid, tid) VALUES (497, 1) in /home/httpd/vhosts/maadlab.com/httpdocs/includes/database.mysql.inc on line 108.

Any suggestions?

Comments

gmak’s picture

I've been looking more at this and it would appear that the repeat is not being entered into the database correctly. I have setup a repeating event which should repeat weekly and end on 1 January 2007. However, looking at the database entry it has no value shown in the 'repeat_end" field.

This would explain why, when trying to edit this repeat, it does not show the correct dates (those originally selected) in the 'End Settings' area.

The event_repeat_calendar_map has 67 pages worth of data. There are only 2 repeat events in the system- one should have been a daily repeat for 5 days and the other should have been weekly ending on January 1 2007.

hunmonk’s picture

Status: Active » Fixed

dang forms API... ;)

the calculated timestamp for the end date wasn't being passed to the submit function. this is now fixed in lastest HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)