Our state of the art Gantt chart


Post by ninjakon »

Hello,

We have a problem with calendar exceptions when trying to define a non-default work week where the working times should be different for a certain time span.

We have implemented MS Project import following this demo:
https://bryntum.com/examples/gantt/msprojectimport/
And it works fine.

To see how the demo handles the exception we looked at the response of the parser script (https://dev.bryntum.com/examples/gantt-vanilla/examples/msprojectimport/php/load.php) and have found that the interval in question is interpreted like this:

{
              "recurrentStartDate": "on FRIDAY at 00:00",
              "endDate": "2022-11-06T23:59:59",
              "priority": 25,
              "recurrentEndDate": "on SATURDAY at 00:00",
              "startDate": "2022-10-06T00:00:00",
              "isWorking": false
},

This makes sense. However according to the calendar guide https://www.bryntum.com/docs/gantt/guide/Gantt/basics/calendars we should either define a static or a recurrent interval.
This means "startDate/endDate" and "recurrentStartDate/recurrentEndDate" within one interval are invalid.

We also tested this and the scheduling engine prioritizes the "startDate/endDate" and dismisses the "recurrentStartDate/recurrentEndDate".

How can we define such an interval that it is interpreted correctly by the scheduling engine?
The MS Project file including the exception calendars is attached to this post, please feel free to have a look at it.

According to this guide https://bryntum.com/examples/gantt-for-extjs/calendars/ it should be possible (we can define a non-default work week with the edit-modal).

Attachments
Exception Project.mpp
(230.38 KiB) Downloaded 22 times

Post by arcady »

That looks like a bug in the demo. Here is a ticket for it: https://github.com/bryntum/support/issues/5334
Thanks for the report!


Post Reply