Closed Bug 447814 Opened 17 years ago Closed 17 years ago

Reloading remote calendars shows wrong progress in status bar

Categories

(Calendar :: Internal Components, defect)

defect
Not set
trivial

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: aryx, Assigned: berend.cornelius09)

Details

Attachments

(1 file)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17pre) Gecko/20080723 Calendar/0.9pre Reloading remote calendars shows wrong progress in status bar, i.e. "Reloading calendar 174 of 24"
Attached patch patch v. #1Splinter Review
I talked to Daniel about this topic. He said that it looks like we are having several composite calendars. I still do not know the reason for this issue for sure, because I thought due to the implementation of the function "getCompositeCalendar()" I took adequately care that no other composite calendars are existing. Grepping over the project showed me that there is yet another composite calendar for the imip bar ("createItipCompositeCalendar()". However with this patch I made the code of the statusbar now more tolerant, so that it automatically takes care the progress for each calendar is displayed only once.
Assignee: nobody → Berend.Cornelius
Status: NEW → ASSIGNED
Attachment #335700 - Flags: review?(daniel.boelzle)
Flags: wanted-calendar0.9?
Comment on attachment 335700 [details] [diff] [review] patch v. #1 >+ if (this.mCalendars[aCalendar.id] == null) { Please use !this.mCalendars[aCalendar.id] or this.mCalendars[aCalendar.id] === undefined. >+ this.mCalendars[aCalendar.id] = aCalendar.name; use true here r=dbo
Attachment #335700 - Flags: review?(daniel.boelzle) → review+
Flags: wanted-calendar0.9? → wanted-calendar0.9+
considered comment #2, checked in patch on trunk and MOZILLA_1_8_BRANCH -> fixed
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Checked in lightning 2008082818 and sunbird 20080828 -> VERIFIED.
Status: RESOLVED → VERIFIED
OS: Windows XP → All
Hardware: PC → All
Target Milestone: --- → 0.9
Version: Mozilla 1.8 Branch → unspecified
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: