View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Problem in Tickets with 5.3.0 - ProjeQtOr
 
 

Problem in Tickets with 5.3.0

More
29 Mar 2016 15:44 - 29 Mar 2016 16:12 #1 by magast
After updating to 5.3.0 it is not possible to create a new ticket.

2016-03-29 15:38:31.400 ***** ERROR ***** ERROR *****
2016-03-29 15:38:31.400 ***** ERROR ***** on file '/var/www/apps/w2u/projectorria/model/TicketMain.php' at line (336)
2016-03-29 15:38:31.400 ***** ERROR ***** cause = Undefined property: Activity::$idTargetVersion

The error appears only if i want to add a activity to the ticket.

Solved wich additional code in line 336 like:
if (isset($act->idTargetVersion) && $act->idTargetVersion) { ...
Last edit: 29 Mar 2016 16:12 by magast.

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

More
29 Mar 2016 16:56 #2 by babynus
Hi,

Thanks for reporting and for the patch.

Issue recorded as Ticket #2028.
Complete fix is to replace line 336+ from
if ($act->idTargetVersion) {
  			$this->idTargetVersion=$act->idTargetVersion;
  			$vers=new Version($act->idTargetVersion);
  			if ($vers->idProduct) {
  				$this->idProductOrComponent=$vers->idProduct;
  			}
  		}
to
if ($act->idTargetProductVersion) {
  			$this->idTargetProductVersion=$act->idTargetProductVersion;
  			$vers=new Version($act->idTargetProductVersion);
  			if ($vers->idProduct) {
  				$this->idProduct=$vers->idProduct;
  			}
  		}

Babynus
Administrator of ProjeQtOr web site

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

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