Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Daniel Zimmermann on Oct 14, 2009 06:07
open dhtmlx forum
scheduler DataConnector issue with updatet recurring events

Hello,

i have a strange behavior wenn i try to update a recurring event in a scheduler.

I have included the debugger to see what the DataProcessor is sending to my processing php file.

Normaly the event_length param has values like "300".

But when im Updating a recurring event the Dataprocessor is sending event_length values like "event_length=-86100"

So my processing php file saves negatives values. After a refresh of the scheduler, he is unable to show the event.

I hope you understod what i tried to explain.

Is this a bug or am i doing something wrong?


Kind regards,
Daniel Zimmermann
Answer posted by Stanislav (support) on Oct 14, 2009 06:58
Do you have default edit form or customized one? In second case be sure that it contains both "time" and "recurring" sections , and "time" section is placed after "recurring".

Answer posted by Daniel Zimmermann on Oct 15, 2009 00:49
I'm using the default edit form.

This issue only occurs if I edit the start or the end time of the recurring event.


Kind regards,
Daniel Zimmermann
Answer posted by Stanislav (support) on Oct 15, 2009 04:00
event_length calculated as
  event_length = end_date - start_date
so the only way to have negative event_length is specify start_date which occurs after end_date

If issue still occurs for you - please provide any kind of sample or demo link where it can be reconstructed.