View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] PHP error when dispatching work on a ticket - ProjeQtOr
 
 

[SOLVED] PHP error when dispatching work on a ticket

More
19 Jan 2016 10:16 #1 by lfrugere
Hello,

I have updated our projeQtOr release this morning an when I dispatch work on a previously opened ticket, an error occured :

2016-01-19 10:01:15.362 ***** ERROR ***** ERROR *****
2016-01-19 10:01:15.363 ***** ERROR ***** on file '/var/www/projeqtor/model/persistence/SqlElement.php' at line (434)
2016-01-19 10:01:15.363 ***** ERROR ***** cause = trim() expects parameter 1 to be string, object given

Lionel.

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

More
19 Jan 2016 12:49 #2 by babynus
Hi,
I cannot reproduce.
I will investigate.
Ticket #1937 recorded

Babynus
Administrator of ProjeQtOr web site

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

More
19 Jan 2016 13:52 - 19 Jan 2016 13:53 #3 by babynus
Issue reproduced !
And fixed :woohoo:

Fix is to replace line 117 in /tool/saveDispatchWork.php from
$work->idAssignment=WorkElement::updateAssignment($work, $diff);
to
$ass=WorkElement::updateAssignment($work, $diff);
$work->idAssignment=($ass)?$ass->id:null;

Babynus
Administrator of ProjeQtOr web site
Last edit: 19 Jan 2016 13:53 by babynus.

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

More
19 Jan 2016 14:02 #4 by lfrugere
Perfect !

Thanks.

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

Moderators: babynusprotion
Time to create page: 0.036 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.