Anonymous Login
2019-02-19 05:20 PST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0000542Third-party ModulesHelpdeskpublic2014-06-11 22:05
Reportermenglim 
Assigned Topedroa 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0000542: Helpdesk list view
DescriptionIn helpdesk screen, When you click on the list button, the following error appears.

Catchable fatal error: Object of class CProject could not be converted to string in /home/pmourwe/public_html/includes/main_functions.php on line 155
TagsNo tags attached.
Attached Files
  • ? file icon patch (1,044 bytes) 1969-12-31 16:00 -
    --- /home/petr/Stažené/web2project/web2project-mod/helpdesk/trunk/list.php	2010-10-01 20:44:54.824727052 +0200
    +++ list.php	2010-10-05 17:08:54.744397232 +0200
    @@ -270,12 +270,12 @@
     	}
     
     	if (empty($_REQUEST['project_id'])) {
    -		$project = $AppUI->getState( 'HelpDeskProject' ) !== null ? $AppUI->getState( 'HelpDeskProject' ) : -1;
    +		$project_id = $AppUI->getState( 'HelpDeskProject' ) !== null ? $AppUI->getState( 'HelpDeskProject' ) : -1;
     	} else {
    -		$project = $_REQUEST['project_id'];
    +		$project_id = $_REQUEST['project_id'];
     	}
     
    -	if ($project >= 0) {
    +	if ($project_id >= 0) {
     		$tarr[] = "hi.item_project_id=$project";
     	}
     
    @@ -292,7 +292,7 @@
                    . arraySelect( arrayMerge( array( '-1'=>'('.$AppUI->_('All').')', '0'=>'('.$AppUI->_('Without Project').')' ), $arrayProjects ),
                                   'project',
     							                'size="1" id="project" class="text" onchange="changeList()"',
    -							                $project )
    +							                $project_id )
                    . "</td>";
     	}
     }
    
    ? file icon patch (1,044 bytes) 1969-12-31 16:00 +

-Relationships
+Relationships

-Notes

~0001288

menglim (reporter)

anyone interested in getting this resolved? :D

~0001299

gajdusek (reporter)

Last edited: 2010-10-05 07:26

Hi,
I attached patch.
Please apply it to list.php from https://web2project-mod.svn.sourceforge.net/svnroot/web2project-mod/helpdesk/trunk/list.php revision 161.

Petr Gajdusek

~0003451

caseydk (administrator)

Resolved in latest development:
https://github.com/caseysoftware/web2project-helpdesk
+Notes

-Issue History
Date Modified Username Field Change
2010-08-11 15:49 menglim New Issue
2010-08-11 19:22 caseydk Project v2.0 Release (Closed) => Third-party Modules
2010-08-12 07:05 caseydk Category Third-party Modules => Helpdesk
2010-08-12 07:05 caseydk Product Version v2.0.0 =>
2010-09-22 05:10 menglim Note Added: 0001288
2010-10-05 07:17 gajdusek File Added: patch
2010-10-05 07:25 gajdusek Note Added: 0001299
2010-10-05 07:26 gajdusek Note Edited: 0001299
2010-12-08 12:39 caseydk Status new => assigned
2010-12-08 12:39 caseydk Assigned To => pedroa
2014-04-05 17:39 caseydk Category General => Helpdesk
2014-06-11 22:05 caseydk Note Added: 0003451
2014-06-11 22:05 caseydk Status assigned => resolved
2014-06-11 22:05 caseydk Resolution open => fixed
+Issue History