Our state of the art Gantt chart


Post by jhughesoneplan »

After upgrading to 5.3.1 some users are receiving TypeError r.ion is not a function

You can repro it here sometimes: https://oneplanqa.azurewebsites.net/home/repro504

Uncaught TypeError: r.ion is not a function
    at ColumnDragToolbar.construct (gantt.module.min.js:12:224361)
    at r.construct (gantt.module.min.js:53:26384)
    at new Base$1 (gantt.module.min.js:10:24199)
    at new t (gantt.module.min.js:10:42396)
    at new ColumnDragToolbar (gantt.module.min.js:12:224134)
    at Object.get (gantt.module.min.js:53:26423)
    at Function.values (<anonymous>)
    at Timeline.setGridClassList (gantt.module.min.js:53:88959)
    at Timeline.finishConfigure (gantt.module.min.js:53:88212)
    at Timeline.setConfig (gantt.module.min.js:10:27131)

Post by tasnim »

Hi,

What are the steps that need to be done to reproduce the issue? Can you please upload a runnable test case so we can check what's wrong?


Post by mats »

The link you provided crashes always:

gantt.module.min.js:53 Uncaught Error: Feature 'fillHandle' not available, make sure you have imported it
    at set features (gantt.module.min.js:53:24581)
    at set features [as features] (gantt.module.min.js:53:621956)
    at Gantt.get (gantt.module.min.js:10:19962)
    at Gantt.hasFeature (gantt.module.min.js:53:25057)
    at Gantt.beginGridMeasuring (gantt.module.min.js:53:94835)
    at Gantt.measureRowHeight (gantt.module.min.js:53:95755)
    at Gantt.changeRowManager (gantt.module.min.js:53:80204)
    at Gantt.set (gantt.module.min.js:10:19504)
    at Gantt.get (gantt.module.min.js:10:20268)
    at ResourceAssignmentColumn.construct (gantt.module.min.js:53:1144316)

Post by jhughesoneplan »

mats if you clear your cache you that will go away. You may or may not get the .ion error. about half our users receive it.


Post by mats »

No luck, still happens with cache cleared.


Post by jhughesoneplan »

Please try now


Post by marcio »

Hey,

I see some 404 regarding some JS files, but none like the error you mentioned, that happens on loading or the users are having this error trying to do some action??

Attachments
Screenshot 2023-03-31 at 16.41.38.png
Screenshot 2023-03-31 at 16.41.38.png (370.87 KiB) Viewed 483 times

Best regards,
Márcio


Post by jhughesoneplan »

Then it works for you. We have random users that it does not work for. I was able to now repro it for me. Can you try again. I set columnReorder: false. If I set to true then it is random error for some people. But setting to false seems to provide a more consistent error.


Post by marcio »

Hey,

I got the error that you mentioned, but we would need more information about your configuration, could you please provide more details regarding your implementation? If you could reproduce that in one of our examples, that would be nice too.

Best regards,
Márcio


Post by jhughesoneplan »

It isnt the same message but it does error. Go to your advanced example and in the features add columnReorder: false, columnDragToolbar : true, if I remove columndragtoolbar feature it seems to fix it?


Post Reply