Summary | Queue name not displaying in ticket history |
Queue | Whups |
Type | Bug |
State | No Feedback |
Priority | 1. Low |
Owners | |
Requester | paul.g.roy (at) uottawa (dot) ca |
Created | 01/09/2008 (6360 days ago) |
Due | |
Updated | 01/16/2008 (6353 days ago) |
Assigned | 01/09/2008 (6360 days ago) |
Resolved | 01/16/2008 (6353 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
for anyone else. Are you by chance using the suhosin patch?
There's definitely history for the ticket that was fetched.
I fixed the problem by changing line 951 from
for ($i = 0, $iMax = count($history); $i < $iMax; ++$i) {
to
$count = count($history);
for ($i = 0; $i < $count; $i++) {
which is basically the same logic except for the $i++ portion.
Queue name and all other history info display fine now.
recent if your sql driver was updated 7 days ago.
If the for loop doesn't execute that means no history was fetched,
which probably means there was a database error just above - is there
anything in your Horde log? Have you run the update scripts from
whups/scripts/upgrades/ ?
As to version info, Whups has been 1.0-cvs for as long as I can
remember so you'll have to educate me on where I can find a build #
for the application.
With respect to the offending whups/lib/Driver/sql.php file, it's
version 1.282 dated 2008/01/02.
Cheers!
Paul
State ⇒ Feedback
3.2-RC1. And please be more specific than "recent" when talking about
a HEAD application.
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Queue name not displaying in ticket history
Queue ⇒ Whups
State ⇒ Unconfirmed
viewing an existing ticket: the area after Queue=> is blank.
The problem is in file /whups/lib/Driver/sql.php at line 951. The for
loop is not executing.
for ($i = 0, $iMax = count($history); $i < $iMax; ++$i) {
Using Horde 3.1.5 and a recent Whups build from CVS.
Thanks much
Paul