This is a migrated thread and some comments may be shown as answers.

Event Move bug....

4 Answers 103 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Bloodhound
Top achievements
Rank 1
Bloodhound asked on 16 Oct 2007, 12:32 PM
If I drag an appointment on my calendar to say 11:30pm, and the appointment is 3 hours log, I would expect it to put the appointment at 11:30pm, and show the little arrow at the the bottom of the appointment that when clicked would take me to the next day.  That is how it worked prior the service pack.  Now what happens is that it takes the appointment that is on the schedule BEFORE the one I am moving and puts it at 11:30pm.  Looks like maybe the index is off by 1 in the move logic.

4 Answers, 1 is accepted

Sort by
0
Bloodhound
Top achievements
Rank 1
answered on 16 Oct 2007, 12:53 PM
If I move appointments between 2 difference resources the same problem occurs....
0
Carlo DiCelico
Top achievements
Rank 1
answered on 16 Oct 2007, 01:06 PM
Yes, I tried it and this does the same thing to me, as well. Instead of "spilling over" into the next day, it skips a whole day. Definitely looks like an off by one error.
0
Bloodhound
Top achievements
Rank 1
answered on 16 Oct 2007, 01:08 PM
Client side everything looks fine, but if you look at the server side event, the appointment object is not the one that I was updating.  It is always the first appointment for the resource I was moving from. 
0
Bloodhound
Top achievements
Rank 1
answered on 16 Oct 2007, 01:32 PM
I figured it out.  The field that I had for th ForeignKeyField in my resource declaration did not have unique values.  Every appointment for a given resource, had the same value. 
Tags
Scheduler
Asked by
Bloodhound
Top achievements
Rank 1
Answers by
Bloodhound
Top achievements
Rank 1
Carlo DiCelico
Top achievements
Rank 1
Share this question
or