Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Problem with fixed ...
 
Notifications
Clear all

Problem with fixed durations when calculate activities planning with 4.5.2

4 Posts
2 Users
0 Reactions
3,446 Views
(@vporcelli)
Posts: 25
Active Member
Topic starter
 
[#2121]

Hi,

Continuation of - Ticket #1619
When the first activity has duration of one day, after click on calculate activities plannings button, the first and second activity start at same time
The second activity should start the day after

Thanks for feedback.


 
Posted : 28 Nov 2014 19H58
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

Issue confirmed.
Strange, but this only occurs on first task (if 1 day task is second, all is right) :huh:

Ticket #1624 recorded

NB : this issue has no link with #1619, and possibly exist since many versions.


 
Posted : 28 Nov 2014 20H15
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

Hi,

Fix found :
In /model/PlannedWork.php, replace line 250

        if (addWorkDaysToDate($precEnd,1+$precVal) > $startPlan) { // #77    

with

        if (addWorkDaysToDate($precEnd,1+$precVal) >= $startPlan) { // #77    

(yes, just replace > with >=)


 
Posted : 28 Nov 2014 21H05
(@vporcelli)
Posts: 25
Active Member
Topic starter
 

It's OK. Thanks !


 
Posted : 01 Dec 2014 10H48
Share:

Scroll to Top