Closed Bug 401731 Opened 18 years ago Closed 15 years ago

Modified Occurrence Shown twice in alarm dialog

Categories

(Calendar :: Alarms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: Fallen, Unassigned)

References

Details

Steps 1. Create a recurring event 2. Modify the first occurrence to a different time 3. Set an alarm only on the modified occurrence Actual: * The Alarm dialog shows the occurrence twice. * The occurrence is not dismissable (might be related to bug 368976) Expected: * Only one occurrence is shown * The alarm should be dismissable More Info: This goes all the way down to calRecurrenceInfo's calculateDates() function. This is called from getOccurrence() It seems here that both the base items date and the first occurrences date is returned. Then getOccurrence calls getOccurrenceFor on all dates, which gets the occurrence exception for the first date twice. I'm not sure if calculateDates needs fixing or getOccurrence.
Flags: wanted-calendar0.8?
Oops, found it.
Status: NEW → RESOLVED
Closed: 18 years ago
Flags: wanted-calendar0.8?
Resolution: --- → DUPLICATE
I guess I was too fast on that. Of course bug 389251 is the dismissable part, but the double occurrence part still stands.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Summary: Double undismissable alarm on recurrence exception → Modified Occurrence Shown twice in alarm dialog
Flags: wanted-calendar0.8?
Flags: wanted-calendar0.8? → wanted-calendar0.8+
Status: REOPENED → NEW
Not going to happen for 0.8.
Flags: wanted-calendar0.8+ → wanted-calendar0.8-
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13pre) Gecko/2008020723 Calendar/0.8pre I see a slightly different behavior now: After step 3 from comment #0 only one entry for the occurrence is shown in the new reminder dialog. But pressing "Dismiss" adds another entry for the occurrence to the dialog and the dialog is still shown. By pressing "Dismiss All" several times the entry count increases 1 > 2 > 4 > 8 > 16 > 32 ...
Flags: blocking-calendar1.0+
Whiteboard: [not needed beta][no l10n impact]
Whiteboard: [not needed beta][no l10n impact] → [needed beta][no l10n impact]
I'm not able to reproduce this - can anyone provide a more detailed case?
Hmm I'm not able to reproduce this with my steps from comment 0 either, but I still do get this once in a while, and it looks like back in comment 0 I actually found out why, so lets keep this bug open for now. I'll try to find new STR.
I've looked at the code, and it seems I've fixed this issue with bug 391495, back in the days. Specifically, the addition of occurrenceMap should be making sure that an occurrence is not returned twice. I'm going to mark this bug as wfm, we can reopen if this issue shows up again.
Status: NEW → RESOLVED
Closed: 18 years ago15 years ago
Flags: blocking-calendar1.0+
Resolution: --- → WORKSFORME
Whiteboard: [needed beta][no l10n impact]
You need to log in before you can comment on or make changes to this bug.