Recurring Event, updating "end by" date, lose all changes

Hi! and happy new scheduler year :mrgreen:
The problem, i create a new recurrent event, once a week, and i dont know when it will be finished… ( for example, all wednesday 12h-13h).
Now i change one ocurrence of this recurrent event,i move one ocurrence of event to thurday.

after any days, i know when recurrence finish, i update all recurrent event, and save with 01/01/2015

The bug is the ocurrence i’ve changed returns to wednesday, and i lose the change…

any idea? thanks for your help

even if you delete one occurrence of this recurrent event, when you set the end by date, deleted ocurrence appears again. :confused:

Hi,

do you have a custom logic of the recurring event update? There are no too mush differences by default between “No end date” and “End by” recurring events. In your case in the database you might have:
“No end date” :

  • end date : 9999-02-01
  • rec_type : week_1___3#no
    “End by” :
  • end_date : 2015-01-01
  • rec_type : week_1___3#
    If you preserve initial event_id of the recurring event (and the “pid” - parent event_id of the exception) when updating, all you changes should be kept.

this is record of the recurrent event(24) and record of the exception (25)

  event_id	event_name	start_date           	end_date	        tipoevent	user

rec_type event_pid event_length

    24	prueba rec	    2014-01-20 12:00:00	9999-02-01 00:00:00	jornada	jromero	week_1___1#no	               0	3600


25	prueba rec	    2014-01-28 12:00:00	2014-01-28 13:00:00	jornada	jromero	
                                 24	1390820400

and now im going to set end date, the events records are right:
24 prueba rec 2014-01-20 12:00:00 2015-01-01 00:00:00 jornada jromero week_1___1# 0 3600
25 prueba rec 2014-01-28 12:00:00 2014-01-28 13:00:00 jornada jromero
24 1390820400

when i click on save button and schuler refresh, 25 event is not drawn and moved to original position, i can’t believe it, SO I PUSH refresh F5 on chorme and voilá!!! all is right drawn now!

:astonished: :astonished: :astonished: :astonished:

:laughing: :laughing: :laughing:

it’s good enough for me at this moment, thank you very much for your help!!!

this is record of the recurrent event(24) and record of the exception (25)

  event_id	event_name	start_date           	end_date	        tipoevent	user

rec_type event_pid event_length

    24	prueba rec	    2014-01-20 12:00:00	9999-02-01 00:00:00	jornada	jromero	week_1___1#no	               0	3600


25	prueba rec	    2014-01-28 12:00:00	2014-01-28 13:00:00	jornada	jromero	
                                 24	1390820400

and now im going to set end date, the events records are right:
24 prueba rec 2014-01-20 12:00:00 2015-01-01 00:00:00 jornada jromero week_1___1# 0 3600
25 prueba rec 2014-01-28 12:00:00 2014-01-28 13:00:00 jornada jromero
24 1390820400

when i click on save button and scheduler refresh, 25 event is not drawn and moved to original position, i can’t believe it, SO I PUSH refresh F5 on chrome and voilá!!! all is right drawn now!

:astonished: :astonished: :astonished: :astonished:

:laughing: :laughing: :laughing:

it’s good enough for me at this moment, thank you very much for your help!!!