Our state of the art Gantt chart
Hi!
Here's another one that relies on a sync request reply. I've included a test case. Here are the steps to replicate:
- Right click on the task in row 3 and click Edit
- In the resources tab, change the units of the assignment to 90
- Click outside the grid to pre-apply the changes
- Notice the bars have correctly resized
- Now hit Save
Result:
- The startDate of task in row 1 has changed and the bar has shrunk a lot.
Expected result:
- The startDate of task in row does not change.
Additional details:
- If the sync query that happens when saving was actually saved, a reload of the data would fix the problem.
-
Attachments
-
- test-parent-startdate.zip
- (2.27 MiB) Downloaded 126 times
Ah! I think it has something to do with the fact that the parent task is "Fixed Units" and "Effort Driven"...
Hmm, quite strange indeed. Can you make sure the sync query actually occurs and that the reply contains what's in the response.json file?
I'll make a screencast shortly.
Hi!
Could you please specify the exact gantt version you use?
The version is the one included in the attached demo: 2.1.5
Hi, Jerther!
I have rechecked your attached example from test-parent-startdate.zip and still don't see any problems with parent task display.
I've unpacked it to folder and started index.html via local webserver with Chrome 83.0 ( + Disabled cache in Dev tools).
Actually if server does no changes to tasks it should just return this. No need for any data inside.
Try with the latest Nightly build from CustomerZone.
Also may be you have any other example we can check?
Well if the server should not return data that's accepted as is, then this problem is irrelevant as it relies on it.
Just for the sake of it I tried with a nightly build (2020-07-07-release) on Chrome 83.0.4103.116 (Official Build) (64-bit) and I get the same result.
It makes sens though not to return the same data. I'll make that modification to our server. This might as well fix some other hard-to-pin problems we have.
Still, it is really strange that you don't get the same result. Unfortunately I don't have another example. But should you want to get to the bottom of this, I'll be happy to help.
Thanks!!