https://bugs.kde.org/show_bug.cgi?id=449786
Bug ID: 449786 Summary: Total "Resource assignments" are wrong if the resources have different calendars and availability Product: calligraplan Version: 3.3.0 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: dag.ander...@kdemail.net Reporter: cqu...@arcor.de Target Milestone: --- Created attachment 146439 --> https://bugs.kde.org/attachment.cgi?id=146439&action=edit Resources SUMMARY I have came across a weird error in the Total hours field of the "Resource assignments". If a task is assigned to two different resources which happen to have different calendars and different total availability then the sum of the total hours is more than the hours of the task. For instance: Resource 1 has 30% availability and calendar Base while Resource 2 has 50% availability and calendar Other. It seems also that the properties of the calendar matter. In my case calendar Base has assigned 7 hours of work each day, timezone is Europe/Berlin and Holiday region Germany/Bavaria. Calendar Other has 8 hours assigned to each data, timezone is Australia/Brisbane and holiday region is Australia/New South Gales. In the screenshots attached you can see a summary of the setup. Under those circumstances, a task which has 80 hours estimated seems to have 29.4 assigned to the first resource and 51.1 to the second, which makes it a total of 80.5 Interestingly, if both resources have the same calendar (no matter whether it is the 7 or 8 hours a day) the total sum is correct. Also if both resources have 100% availability. STEPS TO REPRODUCE 1. Create two calendars with different working hours, timezone and holiday region 2. Create two resources and assign one calendar to each 3. Create a task 4. Run a Schedule 5. Go to the "Resource Assignment" view. OBSERVED RESULT The sum of the hours for both resources is more than the estimate for the task EXPECTED RESULT The sum of the hours for both resources is the same as the estimate for the task SOFTWARE/OS VERSIONS Linux: Fedora 35 KDE Plasma Version: 5.23.4 KDE Frameworks Version: 5.89.0 Qt Version: 5.15 Calligra plan: 3.3.0 ADDITIONAL INFORMATION All software installed from F35 official RPM repositories. -- You are receiving this mail because: You are watching all bug changes.