qlik-oss / sn-list-objects

MIT License
3 stars 1 forks source link

v0.19.0 | TypeError: Cannot read properties of undefined (reading 'isEnabled') #443

Closed M1CK431 closed 4 months ago

M1CK431 commented 4 months ago

Thanks to the latest v0.19.0 update, my selections bar crash when clicking on any filter to modify it:

TypeError: Cannot read properties of undefined (reading 'isEnabled')
    at K_ (ListBoxPopover.jsx:102:45)
    at Cs (react-dom.production.min.js:160:137)
    at Tu (react-dom.production.min.js:289:337)
    at Ld (react-dom.production.min.js:279:389)
    at kd (react-dom.production.min.js:279:320)
    at Cd (react-dom.production.min.js:279:180)
    at fd (react-dom.production.min.js:270:88)
    at gd (react-dom.production.min.js:272:300)
    at Qa (react-dom.production.min.js:127:105)
    at react-dom.production.min.js:266:273

The code responsible of the crash is part of the v0.19.0 update: image

Could you please fix it?

M1CK431 commented 4 months ago

I guess @haxxmaxx is the good guy to handle this issue 😉

haxxmaxx commented 4 months ago

Hi @M1CK431, yupp looks like we need some sanity checking there. That code change is not in this repo. Are you using stardust or some other nebula.js package?

M1CK431 commented 4 months ago

I'm using stardust 👍🏼

haxxmaxx commented 4 months ago

Ok, then it makes sense. I've opened a new bug in the nebula repo. See above. Thanks for reporting!

M1CK431 commented 4 months ago

You are right: downgrading startdust to v5.1.x "solve" the issue. Thanks to pointing me in the right direction 😘