Hi,
Nope, same problem (see the json file here : https://91.235.138.107/calendar.json)
Regards
Hey,
I see what's going wrong here, in this JSON that you shared, you have two calendars with one interval, the correct is to have one calendar with several intervals.
Also, as you'll see here https://www.bryntum.com/docs/scheduler-pro/guide/SchedulerPro/basics/calendars#defining-project-calendar you need to have in the response JSON the default calendar set in the project. So you need that your JSON has the following format:
{
"project": {
"calendar": "holidays"
},
"calendars": {
"rows": [
{
"id": "holidays",
"name": "Holidays",
"intervals": [
{
"id": "7",
"name": "14 juillet",
"startDate": "2022-07-14T00:00:00",
"endDate": "2022-07-15T00:00:00",
"isWorking": false
},
{
"id": "68",
"name": "Fermeture ONISEP",
"startDate": "2022-07-15T00:00:00",
"endDate": "2022-07-16T00:00:00",
"isWorking": false
}
]
}
]
}
... other configurations
}
Best regards,
Márcio
Hi,
We mad that update but we catch an error:
Uncaught (in promise) TypeError: startDateField is undefined
ProjectCrudManager.js:55:9
the problem is with the node:
"project": {"calendar": "holidays"},
See the file here : https://91.235.138.107/calendar2.json
We are now in a hurry...
Best regards
Hey,
I was able to use it in the format that you shared in that link but needed to change the Id and Name properties (with uppercase I and N) to id and name (with a lowercase i and n).
That worked just fine for the 5.0.6 version.
I attached the data.json file that worked here, you'll that's the only difference between that and the one in your link.
Best regards,
Márcio
Hi,
We have have now this error : Uncaught (in promise) TypeError: startDateField is undefined
See the file : https://91.235.138.107/calendar3.json
You can also see the scheduler result at this address : https://91.235.138.107/schedule_publication_demo_publi.asp
Regards
Sorry, the test address is : https://91.235.138.107/logdemo.asp
Regards
Hey,
So, using the calendar3.json in the Pro TaskEditor demo worked just fine https://bryntum.com/examples/scheduler-pro/taskeditor/
So it's not a data structure-related issue, most likely be some configuration or piece of code that triggers the error that you mentioned.
Best regards,
Márcio
Thanks for the anwser,
Can you look this link and tell us if you see the error?
https://91.235.138.107/logdemo.asp
Regards