Loading...
 
Skip to main content

tracker status not shown in php7 at tiki-view_tracker.php

Status
Closed
Subject
tracker status not shown in php7 at tiki-view_tracker.php
Version
15.x
Category
  • Error
  • Regression
Feature
Trackers
Resolution status
Fixed or Solved
Submitted by
Xavier de Pedro
Volunteered to solve
Jonny Bradley
Lastmod by
Xavier de Pedro
Rating
(1)
Description

tracker status not shown in php7 at tiki-view_tracker.php

To reproduce, use php 7.x, install a new tiki site, and apply the "Bug tracker" profile, for instance.
Then attempt to view status at tiki-view_tracker.php?trackerId=1

"showStatus" shows no column (not even the green question mark)
"showStatusAdminOnly" shows the green question mark in that column
column shown in tiki-view_tracker.php/tpl (the left most column of the table)

and looking at tiki-view_tracker.php, $smarty->assign('status_types', $status_types); get 0 number of status_types
in the count
line 160 onwards, in 15.x
therefore, $tracker_info%22showStatus%22 = 'n';
...
(and getting lost there)
Someone with better skills of the differences between php7 and earlier versions is needed.


[Edit Torsten: ist that maybe related to Bug 6254 ? ]


Solution

r60956 hopefully?


it works for me now, thanks!

Importance
6
Easy to solve?
4
Priority
24
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
6035
Created
Wednesday 20 July, 2016 10:20:35 UTC
by Xavier de Pedro
LastModif
Friday 20 January, 2017 13:38:31 UTC


Show PHP error messages