I am currently using the trial version of the software and am testing the functionality to know if it would be a good solution for our requirements:
I downloaded the MVC 3 Scheduler from the web and have been testing it around. When I create a one time event from the recurring events screen in your scheduler.net example and update it. I get the following JS error and the screen does not reload any events.
This is because the value for rec_type for the single day event is being passed as string “null” instead of DBNull and when trying to retrieve the events the following error is being thrown.
Uncaught TypeError: Property ‘transpose_null’ of object # is not a function dhtmlxscheduler_recurring.js:613
Hello,
looks like events are saved incorrectly, and rec_type in db has “null” string as value instead of actual null.
I’ve just checked the Scheduler.MVC3-Recurring events sample from our our trial package, everything seems to work there. I was able to create/load both recurring and single events.
Do you have this problem in your custom project, or it’s one of our samples works incorrectly?
Hi,
thank you very much for the clarifications!
The bug is confirmed,
as a workaround, you can check rec_type value before scheduler’s dataprocessor send it to the serverdp.attachEvent("onBeforeUpdate", function (id, status, data) {
if (data.rec_type === null)
data.rec_type = "";
return true;
});
dp - DataProcessor object, defined in the global scope