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 in Tickets ...
 
Notifications
Clear all

Problem in Tickets with 5.3.0

2 Posts
2 Users
0 Reactions
3,085 Views
(@magast)
Posts: 43
Active Member
Topic starter
 
[#3196]

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) { ...


 
Posted : 29 Mar 2016 17H44
babynus
(@babynus)
Posts: 14966
Main Contributor Admin
 

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;
  			}
  		}

 
Posted : 29 Mar 2016 18H56
Share:

Scroll to Top