Our state of the art Gantt chart


Post by tikhonov.a.p »

Good afternoon. In one of the cases I encountered the following error when importing a plan from a MS Project file.

Please help me with a solution. Critical for Business

version 5.0.3 and 5.0.6
Data in attach

Uncaught (in promise) TypeError: interval.copyWith is not a function
    at calculateEffectiveEndDateConstraintInterval (gantt.module.js:191299:1)
    at calculateEffectiveEndDateConstraintInterval.next (<anonymous>)
    at ClassDefEx.calculateEffectiveConstraintInterval (gantt.module.js:191375:1)
    at calculateEffectiveConstraintInterval.next (<anonymous>)
    at ClassDefEx.doCalculateEarlyEffectiveEndDateInterval (gantt.module.js:191426:1)
    at doCalculateEarlyEffectiveEndDateInterval.next (<anonymous>)
    at ClassDefEx.calculateEarlyEndDateRaw (gantt.module.js:191569:1)
    at calculateEarlyEndDateRaw.next (<anonymous>)
    at Quark.continueCalculation (gantt.module.js:183081:1)
    at EngineTransaction.onReadIdentifier (gantt.module.js:184728:1)
Attachments
data.json
(228.95 KiB) Downloaded 8 times

Post by marcio »

Hey,

Using this data.json file that you provided, in the same version that you mentioned, I got the following image attached.

Could you please share how your configuration is set up??

Attachments
Screen Shot 2022-06-23 at 5.15.44 PM.png
Screen Shot 2022-06-23 at 5.15.44 PM.png (94.32 KiB) Viewed 94 times

Best regards,
Márcio


Post by tikhonov.a.p »

Sorry, I forgot to mention that this error only occurs when the tree building mode is on.
Turn on next gantt configuration

taskStore:  {tree: true, transformFlatData: true}

Post by alex.l »

Problem has been reproduced. After debugging we didn't find any obvious reasons why it happened, we created a ticket to have a look deeply: https://github.com/bryntum/support/issues/4854

If we remove constraints from Task73, no error appeared, so the problem somewhere around that.

Thank you for the report.

All the best,
Alex


Post by tikhonov.a.p »

Understood thanks. Can you tell me if we can increase the priority of this issue? Strong business impact


Post by mats »

We will try to investigate this in the next two weeks!


Post by tikhonov.a.p »

mats wrote:
Mon Jun 27, 2022 11:14 am

We will try to investigate this in the next two weeks!

Thank you. Will wait


Post Reply