Closed Bug 1117540 Opened 11 years ago Closed 11 years ago

useDefault not correctly set if there are no default alarms

Categories

(Calendar :: Provider: GData, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
4.0.0.1

People

(Reporter: Fallen, Assigned: Fallen)

References

Details

Attachments

(1 file, 1 obsolete file)

1) Remove all default alarms from Google Calendar web interface 2) Set up calendar in Lightning 3) Create an event and set reminders to "Default" Result: * useDefault: false is sent to the server Expected: * useDefault: true should be sent to the server
Attached patch Fix - v1 (obsolete) — — Splinter Review
Attachment #8543661 - Flags: review?(mohit.kanwal)
Comment on attachment 8543661 [details] [diff] [review] Fix - v1 Review of attachment 8543661 [details] [diff] [review]: ----------------------------------------------------------------- Looks fine with the exception of what I think maybe a typo? ::: calendar/providers/gdata/modules/gdataUtils.jsm @@ +698,3 @@ > > + if (aDefaultReminders.length) { > + item.deleteProperty("X-DEFAULT_ALARM"); Is this a typo? "X-DEFAULT-ALARM"
Attachment #8543661 - Flags: review?(mohit.kanwal) → review+
Attached patch Fix - v2 — — Splinter Review
Great catch, thanks!
Attachment #8550968 - Flags: review+
Attachment #8543661 - Attachment is obsolete: true
Attachment #8550968 - Flags: feedback+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 4.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: