dataProcessor is posting multiple times on scheduler load

Integrated scheduler with spring and json, when rendering scheduler, after dp.init it is posting to url so many times, and posting entire events data including collections over and over for some time and stopping after that and no more posts for changes or updates or addition of events…

Appreciate help

once the data loaded it is trying to post an update for each event that has been loaded from database… not sure why it is doing it…

How is data loaded in the scheduler ? By any chance are you using addEvent API for that ?
Scheduler will process all events, added by addEvent, as new ones, and will try tro save them to database, which may be the reason of the above behavior.

No I did not use add event api… for some reason it is posting like number of event times…

scheduler.load(“events”,“json”);

var parent_select_options =scheduler.serverList("customers");


var fieldworkers = scheduler.serverList("fieldworkers");

the events attached

//eliminating as auto schedule...

// scheduler.attachEvent(“onXLE”, function(){
//
// var fieldworkers = scheduler.serverList(“fieldworkers”).slice();//copy sections
// fieldworkers.unshift({key:null, label:“To Be Scheduled”});//insert first section
// scheduler.updateCollection(“fieldworkers”, fieldworkers);//update list
//
// });

scheduler.attachEvent("onBeforeViewChange", function(old_mode, old_date, new_mode, new_date) {
    scheduler.config.map_start = scheduler.date.day_start(new Date((new_date||old_date).valueOf()));
    scheduler.config.map_end = scheduler.date.add(scheduler.config.map_start, 1, "day");
    return true;
});

It seems you are using map extension.
When data loaded from server side, and events are missing “lat” and “lng” properties, scheduler will try to detect their location based on event_location text and save valid lat and lng values back to DB

You can disable this behavior by using

scheduler.config.map_resolve_event_location = false;

great, thank you