PDA

View Full Version : [OPEN-1330] 3.3 Calendar - Multiple Remote Calls



ddanet
14 Oct 2010, 10:45 AM
It appears that when using a remote JsonStore with the month several calls are being made with varying date params. This also happens on the week and day views with fewer calls (2).

1. 2 calls with day view params
2. 2 calls with week view params
3. 1 call with month view params


DEBUG: schedulemanager.web.ScheduleEventController - Reading event with start: [10-14-2010], end: [10-14-2010]
DEBUG: schedulemanager.web.ScheduleEventController - Reading event with start: [10-10-2010], end: [10-16-2010]
DEBUG: schedulemanager.web.ScheduleEventController - Reading event with start: [10-14-2010], end: [10-14-2010]
DEBUG: schedulemanager.web.ScheduleEventController - Reading event with start: [09-26-2010], end: [11-06-2010]
DEBUG: schedulemanager.web.ScheduleEventController - Reading event with start: [10-10-2010], end: [10-16-2010]

alaindeseine
29 Oct 2010, 2:36 AM
I confirm that problem, i get the same behavior.

Sesshomurai
1 Nov 2010, 3:16 AM
I also confirm this. Its actually a big problem in my app and I had to go back to 3.3.beta because the successive remote calls from Calendar with wrong date formats breaks my middle-tier.....not a good thing.

The date format submitted from Calendar changed from 3.3beta to 3.3.

3.3beta had the more complete date format.

senacle
15 Dec 2011, 1:51 AM
When we click on the prev or next arrow in the calendar day or week view, there is in the DayView.js :


movePrev : function(noRefresh){
this.header.movePrev(noRefresh);
this.body.movePrev(noRefresh);
},


header.movePrev and body.movePrev are calling the same store.load.