On the Gantt, when making use of different Calanders, we experience the issue with the effort not updating with the Duration of a task.
Steps in creating the task initially:
• The task is created with a 1 day duration on the default Calendar.
• The allocated effort is then 24 hours.
• It is displayed in the Gantt as a 1 day task, as is expected.
Problem:
When updating the Calendar of this task to Business, and keeping the duration to 1 day, the effort is not updated. (See below screenshot)
• This causes the Gantt to extend over a 3 day period.
• Is there a way for us to fix this issue so that when selecting a different Calendar, the effort will update and the Gantt will be aligned at 1 day (8 hours), or to whichever time series the Calendar is created with?
Re: [REACT] Standard Calendar to Business Calendar
Re: [REACT] Standard Calendar to Business Calendar
Posted: Tue Aug 09, 2022 2:08 pm
by arcady
The task is extended to three days since the duration is still the same 1 day (24 hours based on project hoursPerDay config). But you changed calendar and it has different working periods of time. So the Gantt has to reallocate the duration based on the new calendar.
Here is what happens in detail:
Initially we have 24hrs/day calendar. The task duration is 1day. Its allocation looks like this:
day #1: 00:00-24:00 24 hrs
And effort in the task startDate/endDate range is collected (based on calendar working time ranges) as:
day #1: 00:00-24:00 24 hrs
Then you switch calendar to 8hrs/day (let's say working period of time is 08:00-16:00). duration is still 1day. Its allocation looks like this:
day #1: 08:00-16:00 = 8 hrs
day #2: 08:00-16:00 = 8 hrs
day #3: 08:00-16:00 = 8 hrs
And effort in the task startDate/endDate range is collected (based on calendar working time ranges) as:
day #1: 08:00-16:00 = 8 hrs
day #2: 08:00-16:00 = 8 hrs
day #3: 08:00-16:00 = 8 hrs