Post by janverstr »

When opening the gantt view for any project, I get this error.

Any clue in which direction I would need to search?

Odoo 14
Bryntum 1.2.8 (updating to 1.3.0 gives an error)

Best,

Jan

Error:

Traceback:
Error: me.propertyItems is undefined
defaultFilterBy@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:8672:4
filter@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:8688:299
generateFiltersFunction/<@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:8727:37
get/me.
filtersFunction@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:9653:113
traverseFilter@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:9659:106
traverseFilter/record.children<@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:9660:206
traverseFilter@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:9660:177
performFilter@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:9799:79
performFilter@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:12150:251
filter@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:9793:11
setStoreData@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:11484:27
setStoreData@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:27587:199403
setStoreData@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:27587:257209
set@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:11468:35
_set@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:790:4387
set@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:27587:315041
loadCrudStore@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:37812:287
loadDataToCrudStore@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:37814:187
loadCrudManagerData/<@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:37836:116
loadCrudManagerData@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:37836:17
loadCrudManagerData@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:41874:108
applyLoadResponse@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:38011:799
_callee138$@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:38011:1685
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?:790:4592
_next@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:790:4924
_asyncToGenerator/</<@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:790:5063
_asyncToGenerator/<@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:790:4819
applyResponse@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:38011:2043
_callee143$@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:41880: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?:790:4592
_next@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:790:4924
_asyncToGenerator/</<@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:790:5063
_asyncToGenerator/<@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:790:4819
applyResponse@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:41887:165
_callee195$@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:56240: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?:790:4592
_next@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:790:4924
_asyncToGenerator/</<@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:790:5063
_asyncToGenerator/<@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:790:4819
applyResponse@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:56240:328
_callee137$@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:37737:1668
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?:790:4592
_next@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:790:4924
_asyncToGenerator/</<@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:790:5063
_asyncToGenerator/<@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:790:4819
internalOnResponse@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:37771:320
_callee139$@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:38085: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?:790:4592
_next@webpack:///./node_modules/@bryntum/gantt/gantt.module.js?:790:4924


Post by janverstr »

I just noticed the project dropdown in the gantt view is empty. Maybe it is linked?


Post by Terence »

I can not say. It is not reproducible on the demo site.

Could you send me the output of the load request to me by mail?

Screenshot 2022-02-22 at 11.31.43.png
Screenshot 2022-02-22 at 11.31.43.png (192.68 KiB) Viewed 806 times

terence(AT)Bryntum.com


Post Reply