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)
Re: TypeError r.ion is not a function
Posted: Tue Mar 28, 2023 10:48 am
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?
Re: TypeError r.ion is not a function
Posted: Tue Mar 28, 2023 1:13 pm
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)
Re: TypeError r.ion is not a function
Posted: Tue Mar 28, 2023 5:36 pm
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.
Re: TypeError r.ion is not a function
Posted: Tue Mar 28, 2023 5:52 pm
by mats
No luck, still happens with cache cleared.
Re: TypeError r.ion is not a function
Posted: Fri Mar 31, 2023 6:12 pm
by jhughesoneplan
Please try now
Re: TypeError r.ion is not a function
Posted: Fri Mar 31, 2023 9:42 pm
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??
Re: TypeError r.ion is not a function
Posted: Fri Mar 31, 2023 9:51 pm
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.
Re: TypeError r.ion is not a function
Posted: Mon Apr 03, 2023 4:47 pm
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.
Re: TypeError r.ion is not a function
Posted: Mon Apr 03, 2023 7:23 pm
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?