Closed
Bug 1196455
Opened 9 years ago
Closed 9 years ago
Can not set absolute alarm that is before the event starts
Categories
(Calendar :: Provider: GData, defect, P1)
Calendar
Provider: GData
Tracking
(Not tracked)
RESOLVED
FIXED
4.7
People
(Reporter: Fallen, Assigned: Fallen)
References
Details
Attachments
(1 file, 1 obsolete file)
13.45 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
Looks like there is a sign error somewhere. The "...only allows reminders up to 4 weeks before the event starts" shows up when setting an absolute reminder that is before the event starts. The message goes away when you set the absolute date to after the event starts.
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8660489 -
Flags: review?(makemyday)
Comment 3•9 years ago
|
||
Comment on attachment 8660489 [details] [diff] [review] Fix - v1 Review of attachment 8660489 [details] [diff] [review]: ----------------------------------------------------------------- r+, but please check the comment below. ::: calendar/test/unit/test_alarmutils.js @@ +193,5 @@ > + alarm.related = alarm.ALARM_RELATED_ABSOLUTE; > + alarm.alarmDate = cal.createDateTime("20150815T110000"); > + equal(calculateAlarmOffset(alarm).icalString, "-PT1H"); > + equal(calculateAlarmOffset(alarm, alarm.ALARM_RELATED_START).icalString, "-PT1H"); > + equal(calculateAlarmOffset(alarm, alarm.ALARM_RELATED_END).icalString, "-PT2H"); Why do you test this block twice - it's the same as above?
Attachment #8660489 -
Flags: review?(makemyday) → review+
Assignee | ||
Comment 4•9 years ago
|
||
Good catch. I've also removed the window dump pref that was there for debugging.
Attachment #8660489 -
Attachment is obsolete: true
Attachment #8672424 -
Flags: review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 5•9 years ago
|
||
https://hg.mozilla.org/comm-central/rev/4ab843365b56a3aaa4e21d25e8ba1ef072421014 Bug 1196455 - Can not set absolute alarm that is before the event starts. r=MakeMyDay a=aleth
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 4.5
Assignee | ||
Updated•9 years ago
|
Target Milestone: 4.5 → 4.7
You need to log in
before you can comment on or make changes to this bug.
Description
•