fix js Gantt display for milestone and associated workeffort
------------------------------------------------------------
Key: OFBIZ-4298
URL: https://issues.apache.org/jira/browse/OFBIZ-4298
Project: OFBiz
Issue Type: Bug
Components: specialpurpose/projectmgr
Affects Versions: SVN trunk
Reporter: Gaudin Pierre
Fix For: SVN trunk
The aim of this patch is to fix the display of the milestones and the task on
the diagram of gantt.
Here are the errors at present:
1 - If a task has several associated tasks only the last one appears as bound
2 - the milestones seem systematically ended even if the status is not ended
3 - duration is not display for milestone in ressource column
The patch corrects these three points.
To validate the patch it is necessary to:
1 - Create a new project
2 - Create 1 phase
3 - Create 3 tasks
4 - Associated first task with the last two tasks
Result = > the first task appears connected to both following ones on the
diagram of gantt
5 - Edit one of the task and set the type to milestone
Result = > it appears as not ended on the diagram
Result = > the column "ressource" contains the number the estimated duration of
the task
5 - Put the status of the milestone as "ended"
Result = > it appears as ended on the diagram
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira