Our powerful JS Calendar component


Post by jeffdb »

After we upgrade our Calendar library from v5.6.11 to v6.0.4, we got JavaScript error.
At Calendar configuration, if we set recurrenceCombo field to null, it will throws the following JavaScript error when create new event at source code line 128450, this.recurrenceCombo:

onRecurringEventEditorHide() {
      const { store } = this.recurrenceCombo;
      if (store) {
        store.clearFilters();
        store.remove(store.query((r) => r.isCustom));
      }
    }
 

Uncaught (in promise) TypeError: this.recurrenceCombo is undefined
calendar.moule.js: 158450:25
onRecurringEventEditorHide http://localhost:8180/databasics/bryntum/js/calendar.module.js:158450
trigger http://localhost:8180/databasics/bryntum/js/calendar.module.js:6346
afterHide http://localhost:8180/databasics/bryntum/js/calendar.module.js:43416
afterHide http://localhost:8180/databasics/bryntum/js/calendar.module.js:51133
hide http://localhost:8180/databasics/bryntum/js/calendar.module.js:43367
hide http://localhost:8180/databasics/bryntum/js/calendar.module.js:43301
close http://localhost:8180/databasics/bryntum/js/calendar.module.js:50997
close http://localhost:8180/databasics/bryntum/js/calendar.module.js:157342
onSaveClick http://localhost:8180/databasics/bryntum/js/calendar.module.js:150462
onSaveClick http://localhost:8180/databasics/bryntum/js/calendar.module.js:171011
trigger http://localhost:8180/databasics/bryntum/js/calendar.module.js:6346
onInternalClick http://localhost:8180/databasics/bryntum/js/calendar.module.js:49113
handler http://localhost:8180/databasics/bryntum/js/calendar.module.js:8167
addElementListener http://localhost:8180/databasics/bryntum/js/calendar.module.js:8052
on http://localhost:8180/databasics/bryntum/js/calendar.module.js:8018
addElementListeners http://localhost:8180/databasics/bryntum/js/calendar.module.js:39411
updateElement http://localhost:8180/databasics/bryntum/js/calendar.module.js:41303
updateElement http://localhost:8180/databasics/bryntum/js/calendar.module.js:48870
set http://localhost:8180/databasics/bryntum/js/calendar.module.js:2745
get http://localhost:8180/databasics/bryntum/js/calendar.module.js:2777
getConfig http://localhost:8180/databasics/bryntum/js/calendar.module.js:3853
startConfigure http://localhost:8180/databasics/bryntum/js/calendar.module.js:40858
setConfig http://localhost:8180/databasics/bryntum/js/calendar.module.js:3885
configure http://localhost:8180/databasics/bryntum/js/calendar.module.js:3805
construct http://localhost:8180/databasics/bryntum/js/calendar.module.js:3501
construct http://localhost:8180/databasics/bryntum/js/calendar.module.js:12055
construct http://localhost:8180/databasics/bryntum/js/calendar.module.js:5679
construct http://localhost:8180/databasics/bryntum/js/calendar.module.js:40853
construct http://localhost:8180/databasics/bryntum/js/calendar.module.js:48865
_Base http://localhost:8180/databasics/bryntum/js/calendar.module.js:3472
Localizable http://localhost:8180/databasics/bryntum/js/calendar.module.js:11934
Events http://localhost:8180/databasics/bryntum/js/calendar.module.js:5462
Delayable http://localhost:8180/databasics/bryntum/js/calendar.module.js:15504
Identifiable http://localhost:8180/databasics/bryntum/js/calendar.module.js:16837
Factoryable http://localhost:8180/databasics/bryntum/js/calendar.module.js:18384
_a4 http://localhost:8180/databasics/bryntum/js/calendar.module.js:39057
_a4 http://localhost:8180/databasics/bryntum/js/calendar.module.js:39310
_Widget http://localhost:8180/databasics/bryntum/js/calendar.module.js:39490
_a4 http://localhost:8180/databasics/bryntum/js/calendar.module.js:48610
_a4 http://localhost:8180/databasics/bryntum/js/calendar.module.js:47172
Button http://localhost:8180/databasics/bryntum/js/calendar.module.js:48645
reconfigure http://localhost:8180/databasics/bryntum/js/calendar.module.js:18658
create http://localhost:8180/databasics/bryntum/js/calendar.module.js:18524


Post by ghulam.ghous »

Hi,

Thanks for the report, I was able to reproduce this issue. Please subscribe to it to keep track of updates: https://github.com/bryntum/support/issues/9809

Regards,
Ghous


Post Reply