Hi
version 8.1.8
I'm facing an error for a specific month. It works well for november but when I switch to december, there's a timeout (see pic below).
I try to swith to log level = 4 but I don't find any change to help me to debug
Please find the detail of December leave period
looks strange that idUser or idResource is the same for all the records (note that there is about ten different people and id=14 is mine)
Holw long does it take to produce report for november ?
Few seconds or more than a minute ?
Holw long does it take to produce report for november ?
Few seconds or more than a minute ?
Only few seconds...
We found some possible infinite loop.
Try and replace line 1800 in /tool/projeqtor-hr.php from
if ($leavesInArrayDate!=null and array_key_exists($date, $leavesInArrayDate)) { continue; }
to
if ($leavesInArrayDate!=null and array_key_exists($date, $leavesInArrayDate)) {
$nextDate = new DateTime($date);
$nextDate->add(new DateInterval("P1D"));
$date = $nextDate->format("Y-m-d");
continue;
}
B)
good job, it works !
many thanks

