MantisBT - v3.4 Release (Current)
View Issue Details
0001686v3.4 Release (Current)Gantt Chart Generationpublic2016-02-05 18:592019-01-03 12:53
Reporterstevez 
Assigned Tocaseydk 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformallOSallOS Versionall
Product Version 
Target VersionFixed in Version 
Summary0001686: Gantt Chart JPGraph PHP Error (owner_ids)
Descriptionhttp://support.web2project.net/questions/675/320-gantt-chart-jpgraph-php-error.html
Steps To Reproducefrom projects display, invoke gantt chart on all projects (or any subset)
Additional InformationThe condition which sets the variable $owner_ids isn't always met therefore $owner_ids doesn't get set consistently. The addition of an "else" remedies this:

Line 39-47 needs to be replace with this:

/*
** Load department info for the case where one
** wants to see the ProjectsWithOwnerInDeparment (PwOiD)
** instead of the projects related to the given department.
*/

if ($addPwOiD && $department > 0) {
    $owner_ids = __extract_from_projects_gantt($department);
} else {
    $owner_ids = 0;
}
TagsNo tags attached.
Attached Files

Notes
(0003868)
caseydk   
2016-12-31 11:48   
Resolved (pretty much) as described:

https://github.com/web2project/web2project/commit/842f0acdb8f4d3f23ca6964633672666ec1d500f
(0003954)
caseydk   
2019-01-03 12:53   
In the 31 Dec 2018 release: http://docs.web2project.net/release-notes/3.4.html

Issue History
2016-02-05 18:59stevezNew Issue
2016-12-26 23:34caseydkProjectv3.3 Release => v3.4 Release (Current)
2016-12-31 01:00caseydkPrioritynormal => high
2016-12-31 11:48caseydkAssigned To => caseydk
2016-12-31 11:48caseydkStatusnew => resolved
2016-12-31 11:48caseydkResolutionopen => fixed
2016-12-31 11:48caseydkNote Added: 0003868
2019-01-03 12:53caseydkNote Added: 0003954
2019-01-03 12:53caseydkStatusresolved => closed