Closed Bug 1100799 Opened 10 years ago Closed 10 years ago

Edit recurrence dialog: recurrence rule preview doesn't work

Categories

(Calendar :: Dialogs, defect)

Lightning 3.6
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bv1578, Assigned: bv1578)

Details

(Keywords: regression)

Attachments

(1 file, 2 obsolete files)

Steps to reproduce:
create a new event and select Repeat custom;

Result:
in the edit recurrence dialog the minimonths that show the preview of the recurrence rule don't have any day marked in bold. Changing the rule doesn't change the preview.
Attached patch patch - v1 (obsolete) — — Splinter Review
The patch for bug 1063085 causes this bug but it's not completely clear to me why.
The changes in calendar-event-dialog-recurrence-preview.xml should be correct given the previous code:
http:// mzl.la/1wRK1Bk

The method getBoxForDate() in the minimonth interprets the date as a calIDateTime when instead is a Date.
I think that a fix like this patch should be correct.
Assignee: nobody → bv1578
Status: NEW → ASSIGNED
Attachment #8524453 - Flags: review?(philipp)
Comment on attachment 8524453 [details] [diff] [review]
patch - v1

Review of attachment 8524453 [details] [diff] [review]:
-----------------------------------------------------------------

Since this is the only caller for getBoxForDate, I'd prefer changing that method to only accept a calIDateTime instead. I don't think allowing both types is a good idea and only causes confusion.
Attachment #8524453 - Flags: review?(philipp) → review-
Attached patch patch - v2 (obsolete) — — Splinter Review
(In reply to Philipp Kewisch [:Fallen] from comment #2)

> Since this is the only caller for getBoxForDate, I'd prefer changing that
> method to only accept a calIDateTime instead.

Actually there are others three callers. I've also changed to calIDateTime two of them.
Attachment #8524453 - Attachment is obsolete: true
Attachment #8527948 - Flags: review?(philipp)
Attachment #8527948 - Flags: review?(philipp) → review+
Attached patch patch - v2 for checkin — — Splinter Review
Attachment #8527948 - Attachment is obsolete: true
Attachment #8529618 - Flags: review+
Keywords: checkin-needed
Target Milestone: --- → 3.8
https://hg.mozilla.org/comm-central/rev/08168dc1fecf
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: 3.8 → 3.7
Target Milestone: 3.7 → 3.9
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: