I get multiple errors on multiple projects when using bryntum gantt view pro for odoo in odoo v14.
On one project I get:
Error: Id collision on 1736-r_21,6416-r_21,1881-r_21
at AssignmentStore.onDataReplaced (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?123)
at AssignmentStore.loadData (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?95)
at AssignmentStore.setStoreData (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?46)
at AssignmentStore.setStoreData (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:40896:107)
at AssignmentStore.setStoreData (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:61471:128)
at AssignmentStore.setStoreData (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:43889:1581)
at AssignmentStore.set (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?156)
at set (<anonymous>)
at _set (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:891:3858)
at AssignmentStore.set (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:61635:845)
as soon as I open it.
Similarly a colleague of mine gets:
Traceback:
Error: Id collision on 7545-r_3,7545-r_14,7545-r_15,7545-r_40,6232-r_42,5539-r_14,5539-r_15,5539-r_40,5541-r_3,5541-r_14,5541-r_15,5541-r_40,5517-r_58,5510-r_14,5504-r_58,4216-r_3,4216-r_14,5325-r_14,5327-r_14,5330-r_14,5509-r_14
onDataReplaced@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?123
loadData@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?95
setStoreData@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?46
setStoreData@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:40896:107
setStoreData@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:61471:128
setStoreData@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:43889:1581
set@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?156
_set@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:891:3861
set@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:61635:849
loadCrudStore@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:42620:287
loadDataToCrudStore@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:42622:187
loadCrudManagerData/<@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:42645:116
loadCrudManagerData@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:42645:17
loadCrudManagerData@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:46756:108
loadCrudManagerData@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:64048:1022
applyLoadResponse@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:42825:799
_callee128$@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:42825:1699
tryCatch@webpack:///./node_modules/regenerator-runtime/runtime.js?:63:40
invoke@webpack:///./node_modules/regenerator-runtime/runtime.js?:294:30
defineIteratorMethods/</<@webpack:///./node_modules/regenerator-runtime/runtime.js?:119:21
asyncGeneratorStep@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:891:4066
_next@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:891:4398
_asyncToGenerator/</<@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:891:4537
_asyncToGenerator/<@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:891:4293
applyResponse@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:42825:2057
_callee133$@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:46767:158
tryCatch@webpack:///./node_modules/regenerator-runtime/runtime.js?:63:40
invoke@webpack:///./node_modules/regenerator-runtime/runtime.js?:294:30
defineIteratorMethods/</<@webpack:///./node_modules/regenerator-runtime/runtime.js?:119:21
asyncGeneratorStep@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:891:4066
_next@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:891:4398
_asyncToGenerator/</<@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:891:4537
_asyncToGenerator/<@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:891:4293
applyResponse@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:46774:266
_callee127$@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:42544:1682
tryCatch@webpack:///./node_modules/regenerator-runtime/runtime.js?:63:40
invoke@webpack:///./node_modules/regenerator-runtime/runtime.js?:294:30
defineIteratorMethods/</<@webpack:///./node_modules/regenerator-runtime/runtime.js?:119:21
asyncGeneratorStep@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:891:4066
_next@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:891:4398
_asyncToGenerator/</<@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:891:4537
_asyncToGenerator/<@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:891:4293
internalOnResponse@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:42578:320
_callee129$@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:42901:67
tryCatch@webpack:///./node_modules/regenerator-runtime/runtime.js?:63:40
invoke@webpack:///./node_modules/regenerator-runtime/runtime.js?:294:30
defineIteratorMethods/</<@webpack:///./node_modules/regenerator-runtime/runtime.js?:119:21
asyncGeneratorStep@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:891:4066
_next@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:891:4398
as soon as he opens bryntum gantt view pro in a different project.
Finaly on other projects I get:
Error:
Traceback:
TypeError: Cannot read properties of undefined (reading 'reduce')
at Store.remove (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?37)
at Store.remove (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?187)
at Project.eval (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:46785:7)
at eval (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:42305:454)
at Array.every (<anonymous>)
at Project.forEachCrudStore (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:42305:422)
at Project.clearCrudStoresChanges (webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:46784:6)
at rpcFail (webpack:///./src/lib/ProjectModel.js?:190:14)
when i try to edit or add a new task through bryntum gantt view pro.