View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Report "Colored monthly resource planning" failed to parse date - ProjeQtOr
 

Report "Colored monthly resource planning" failed to parse date

More
04 Jan 2024 11:36 - 04 Jan 2024 11:42 #1 by Coasterman
Hello

The reason for the following bug is, that there is added a leading 0 (too much) in case of month < 10
If reports for october to december are created, then it is ok --> month  >= 10 --> OK

The report for "Colored monthly resource planning fails.
Report "Colored monthly resource planning"
hide report parameters  year : 2024
month : 1  2024-01-04 11:35  ERROR : DateTime::__construct(): Failed to parse time string (2024-001-01) at position 7 (1): Unexpected character




We got following fault

:2024-01-04 10:36:31.201 ***** ERROR ***** [V11.0.3] EXCEPTION *****
2024-01-04 10:36:31.201 ***** ERROR ***** [V11.0.3] on file '/var/www/html/projeqtor/tool/projeqtor.php' at line (5498)
2024-01-04 10:36:31.201 ***** ERROR ***** [V11.0.3] cause = DateTime::__construct(): Failed to parse time string (2024-001-01) at position 7 (1): Unexpected character
2024-01-04 10:36:31.201 ***** ERROR ***** [V11.0.3] => #0 /var/www/html/projeqtor/tool/projeqtor.php (5498) -> __construct()
2024-01-04 10:36:31.201 ***** ERROR ***** [V11.0.3] => #1 /var/www/html/projeqtor/report/colorPlan.php (163) -> lastDayOfMonth()
2024-01-04 10:36:31.222 ***** ERROR ***** [V11.0.3] EXCEPTION *****
2024-01-04 10:36:31.222 ***** ERROR ***** [V11.0.3] on file '/var/www/html/projeqtor/tool/projeqtor.php' at line (5498)
2024-01-04 10:36:31.222 ***** ERROR ***** [V11.0.3] cause = DateTime::__construct(): Failed to parse time string (2024-001-01) at position 7 (1): Unexpected character
2024-01-04 10:36:31.222 ***** ERROR ***** [V11.0.3] => #0 /var/www/html/projeqtor/tool/projeqtor.php (5498) -> __construct()
2024-01-04 10:36:31.222 ***** ERROR ***** [V11.0.3] => #1 /var/www/html/projeqtor/report/colorPlan.php (163) -> lastDayOfMonth()
2024-01-04 11:19:31.166 ***** ERROR ***** [V11.0.3] EXCEPTION *****
2024-01-04 11:19:31.166 ***** ERROR ***** [V11.0.3] on file '/var/www/html/projeqtor/tool/projeqtor.php' at line (5498)
2024-01-04 11:19:31.166 ***** ERROR ***** [V11.0.3] cause = DateTime::__construct(): Failed to parse time string (2024-001-01) at position 7 (1): Unexpected character
2024-01-04 11:19:31.166 ***** ERROR ***** [V11.0.3] => #0 /var/www/html/projeqtor/tool/projeqtor.php (5498) -> __construct()
2024-01-04 11:19:31.166 ***** ERROR ***** [V11.0.3] => #1 /var/www/html/projeqtor/report/colorPlan.php (163) -> lastDayOfMonth()
2024-01-04 11:19:31.185 ***** ERROR ***** [V11.0.3] EXCEPTION *****
2024-01-04 11:19:31.185 ***** ERROR ***** [V11.0.3] on file '/var/www/html/projeqtor/tool/projeqtor.php' at line (5498)
2024-01-04 11:19:31.185 ***** ERROR ***** [V11.0.3] cause = DateTime::__construct(): Failed to parse time string (2024-001-01) at position 7 (1): Unexpected character
2024-01-04 11:19:31.185 ***** ERROR ***** [V11.0.3] => #0 /var/www/html/projeqtor/tool/projeqtor.php (5498) -> __construct()
2024-01-04 11:19:31.185 ***** ERROR ***** [V11.0.3] => #1 /var/www/html/projeqtor/report/colorPlan.php (163) -> lastDayOfMonth()

Specially the date in the following logged lines is very strange 2024-001-1

Failed to parse time string (2024-001-01)
Last edit: 04 Jan 2024 11:42 by Coasterman.

Please Log in or Create an account to join the conversation.

More
07 Jan 2024 19:04 #2 by babynus
Issue is fixed on V11.0.4

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.025 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.