Closed Bug 1551110 Opened 6 years ago Closed 6 years ago

testEventDialog failing with TypeError: this.getListItem(...) is undefined

Categories

(Calendar :: Dialogs, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: darktrojan, Assigned: darktrojan)

Details

Attachments

(1 file)

JavaScript error: chrome://calendar/content/calendar-event-dialog-attendees-custom-elements.js, line 1181: TypeError: this.getListItem(...) is undefined

I don't understand why this error only appears on Windows, or why it seems to only happen between 0800 and 1400 UTC, but I can stop it happening.

Attached patch 1551110-getlistitem-1.diff (deleted) — Splinter Review
Attachment #9064346 - Flags: review?(philipp)

There are some things I do know that I forgot to mention:

  • This failure appears to have started when the attendees dialog widgets were converted to custom elements at bug 1522473, although there was so much other carnage going on then it's hard to tell.
  • It looks like when the bug occurs the code in get attendees is calling this.getInputElement(4) and there are not 4 rows. There should be four rows so I think fitDummyRows isn't called. But why?

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/b39e405810ed
In attendees dialog, stop trying to use rows that don't exist; rs=bustage-fix

Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → 7.0
Comment on attachment 9064346 [details] [diff] [review] 1551110-getlistitem-1.diff Review of attachment 9064346 [details] [diff] [review]: ----------------------------------------------------------------- Maybe also use querySelector in the last part of the patch? (Sorry, line comments are broken on mobile)
Attachment #9064346 - Flags: review?(philipp) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: