Opened 5 years ago

Closed 3 years ago

Last modified 18 months ago

#2238 closed bug (Fixed)

[Scheduler] this.scheduleCells is undefined

Reported by: Cas Owned by:
Priority: trivial Milestone:
Component: Plugin Version: 1.3.5
Keywords: Cc:

Description

In webui this plugin outputs the following error message:

TypeError: this.scheduleCells is undefined @ https://127.0.0.1:8112/js/scheduler/scheduler.js:486

Although is does not seem to cause any issues would be helpful to stop this plugin generating console error messages.

Change History (3)

comment:1 Changed 4 years ago by kingamajick

The issue seems to arise from the ScheduleSelector#setConfig? method been called before the ui is rendered. Adding a small sanity check resolves the issue.

setConfig: function(config) {
    if (this.scheduleCells == undefined) return;
    ....

comment:2 Changed 3 years ago by Cas

  • Resolution set to Fixed
  • Status changed from new to closed

Thanks for the pointer but the function did need to set values so the initial view reflected the config.

Fixed: [5d5edd2639]

comment:3 Changed 18 months ago by Cas

  • Milestone 1.3.x deleted

Milestone deleted

Note: See TracTickets for help on using tickets.