Closed Bug 459908 Opened 16 years ago Closed 16 years ago

Error "gCalendarStatusFeedback is not defined" when some dialogs

Categories

(Calendar :: Calendar Frontend, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ssitter, Assigned: berend.cornelius09)

Details

(Keywords: regression)

Attachments

(2 files)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081014 Calendar/1.0pre (BuildID: 20081014045208) Lightning 1.0pre (20081014030985) + Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b2pre) Gecko/20081014 Shredder/3.0b1pre (BuildID: 20081014031016). Steps to Reproduce: =================== 1. Create new event and open the Invite Attendees dialog 2. Close the Invite Attendees dialog using [Ok] or [Cancel] Actual Results: =============== Error: gCalendarStatusFeedback is not defined Source File: chrome://calendar/content/calUtils.js Line: 1874 Expected Results: ================= No error
Flags: blocking-calendar1.0+
Regression range: Works in Sunbird 1.0pre (20081013031044) Fails in Sunbird 1.0pre (20081014045208) Checkins during regression range: http://hg.mozilla.org/comm-central/pushloghtml?startdate=2008-10-13+03:00:00&enddate=2008-10-14+05:00:00
Keywords: regression
Certainly a regression from Bug 456102 - Minimonth should generally be able to show free-busy states. Taking over...
Assignee: nobody → Berend.Cornelius
Attached patch patch v. #1Splinter Review
Attachment #343196 - Flags: review?(philipp)
Attachment #343196 - Flags: review?(philipp) → review+
patch pushed to comm-central: http://hg.mozilla.org/comm-central/rev/0e08c97df3af ->fixed
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.0
OS: Windows XP → All
Hardware: PC → All
The Go To Date dialog and the Custom Reminder dialog show the same error. (I hope it's OK to reopen this bug instead of filling a new one.)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Summary: Error "gCalendarStatusFeedback is not defined" when closing Invite Attendees dialog → Error "gCalendarStatusFeedback is not defined" when some dialog
Summary: Error "gCalendarStatusFeedback is not defined" when some dialog → Error "gCalendarStatusFeedback is not defined" when some dialogs
Add the Print Preview dialog to that list.
The Choose Timezone dialog reports the error too. Maybe calUtils.js is not the right place for getCompositeCalendar()? Or maybe the check for gCalendarStatusFeedback should be improved? Could something similar to |if ("gCalendarStatusFeedback" in window)| work?
Attached patch fix2Splinter Review
@Stefan: Your code assumes we always have a |window| object which we may not have. I think our only safe haven is catching away such an error here.
Attachment #344048 - Flags: review?(Berend.Cornelius)
Comment on attachment 344048 [details] [diff] [review] fix2 patch solves the problem and saves us quite some trouble. But I don't know if this is really an "exception" by definition that we handle here. So you should probably add a comment here why we wrap the exception handling around. r=berend;
Attachment #344048 - Flags: review?(Berend.Cornelius) → review+
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/296018803281> -> FIXED
Status: REOPENED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
Checked in lightning build 2008102203557 ans sunbird 20081022 -> VERIFIED
Status: RESOLVED → VERIFIED
Target Milestone: 1.0 → 1.0b1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: