Closed
Bug 401731
Opened 18 years ago
Closed 15 years ago
Modified Occurrence Shown twice in alarm dialog
Categories
(Calendar :: Alarms, defect)
Calendar
Alarms
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?
| Reporter | ||
Comment 1•18 years ago
|
||
Oops, found it.
Status: NEW → RESOLVED
Closed: 18 years ago
Flags: wanted-calendar0.8?
Resolution: --- → DUPLICATE
| Reporter | ||
Comment 2•18 years ago
|
||
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
| Reporter | ||
Updated•18 years ago
|
Flags: wanted-calendar0.8?
Updated•18 years ago
|
Flags: wanted-calendar0.8? → wanted-calendar0.8+
Updated•18 years ago
|
Status: REOPENED → NEW
Comment 3•18 years ago
|
||
Not going to happen for 0.8.
Flags: wanted-calendar0.8+ → wanted-calendar0.8-
Comment 4•18 years ago
|
||
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 ...
| Reporter | ||
Updated•15 years ago
|
Flags: blocking-calendar1.0+
Whiteboard: [not needed beta][no l10n impact]
| Reporter | ||
Updated•15 years ago
|
Whiteboard: [not needed beta][no l10n impact] → [needed beta][no l10n impact]
Comment 6•15 years ago
|
||
I'm not able to reproduce this - can anyone provide a more detailed case?
| Reporter | ||
Comment 7•15 years ago
|
||
| Reporter | ||
Comment 8•15 years ago
|
||
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 ago → 15 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.
Description
•