heitorhog / jsgantt

Automatically exported from code.google.com/p/jsgantt
0 stars 0 forks source link

Error in Date when A Parent Has No child #97

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
JSGantt Version:
Browser: All Type
OS: windows

What steps will reproduce the problem?
1. When a parent has no child the date of parent is wrong. Its hows current 
Browser date. I tried to check the source code but there the date is correct bt 
still the chart shows system date only ... The other task with subtask doesnt 
have this problem
2.
3.

What is the expected output? What do you see instead?

Please provide any additional information below.

Original issue reported on code.google.com by neod...@gmail.com on 15 Jun 2011 at 6:46

Attachments:

GoogleCodeExporter commented 9 years ago
I've verified this bug (Chromium on Ubuntu). If <pGroup> is "1" and the task 
has no children, dates in <pStart> and <pEnd> are ignored and current browser 
date used. 

WORKAROUNDS: 
Either 
* Set <pGroup> to "0" (makes the task look lower-level) or 
* Create a "dummy" child task (that is the work of the parent task)

JSGantt rocks!

Original comment by olyerick...@gmail.com on 20 Dec 2011 at 3:04