DATA_ERROR Increase duration of parent task

Hello,

we are evaluating your dhtmlxGantt controller and everything is going good. But Some time gantt view goes wrong, moving around for the solution but fail to find. If i am increase the duration by .5 or 1 or any number then not getting any error everthing goes fine. But why this problem occur?
Here is my event dictionary, by this data render the gantt view.
Source data:
{0_0: { parent: “”, evt: [“0_0”, “False”, Date {Wed Jun 22 2011 23:54:37 GMT+0530 (IST)}, 116, 100, “”, “white”]}, 53: { parent:“0_0”,evt: [53, “Testing Phase”, Date {Wed Jun 22 2011 23:54:37 GMT+0530 (IST)}, 52,100, “”, “#ccccff”]}, 1_0: {parent: “”, evt:[“1_0”, “Install, data import, configuration”, Date {Wed Jun 22 2011 23:55:00 GMT+0530 (IST)}, 167, 100, “”, “white”]},
54: { parent:“1_0”,evt: [54, “Implementation”, Date {Wed Jun 22 2011 23:55:00 GMT+0530 (IST)}, 37, 100, “”, “#ccccff”]}, 2_0: {parent: “”, evt:[“2_0”, “Study + Prototype”, Date {Wed Jun 22 2011 23:56:00 GMT+0530 (IST)}, 20, 100, “”, “white”]}, 55: { parent:“2_0”,evt: [55, “Testing2 Phase”, Date {Wed Jun 22 2011 23:56:00 GMT+0530 (IST)}, 20, 100, “”, “#ccccff”]},56: { parent:“0_0”,evt: [56, “Test2”, Date {Mon Jul 04 2011 23:33:27 GMT+0530 (IST)}, 21, 100, “”, “white”]}, 56: { parent:“1_0”,evt: [57, “Test3”, Date {Tue Jul 05 2011 23:39:00 GMT+0530 (IST)}, 40, 100, “”, “white”]}}

It gives error like,
DATA_ERROR Increase duration of parent task(0_0) or reduce EST of child task(56) or reduce duration of child task(56)

Everything is going okay like… date, duration calculation But at the last it stuck with this error :frowning:.

I have checked the related threads, but its not useful, or not getting any solution.

Can you please help us. Or giving solution how to resolve this problem.

Thanks in advance.

you have
56: { parent:“0_0”

should be
56: { parent:“2_0”

what a shame :slight_smile:

Hello Fedor,

Its not a problem of sequence, for parent or child events, this is not a solution or reason for this problem.
It create a dictionary from the date sequence. So its not a problem.
Anyways this type of sequence for dictionary is working fine for other gantt view.
But when it render this durations then it stuck…

Thanks.

it counts the duration of parent (in hours, one day is 8 workhours), and your child record is outside of parent frame.

Thanks fedor
what the message says is clear, but what about the error causes? We’re also evaluating the other view, but some time it raises and some time not.
Maybe its datetime issue :frowning: