Closed Bug 1083934 Opened 10 years ago Closed 10 years ago

Google calendar provider ignores default new event/task reminder setting

Categories

(Calendar :: Provider: GData, defect, P1)

Lightning 3.3
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mitch, Assigned: giermann)

References

Details

Attachments

(2 files, 1 obsolete file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 Build ID: 20141013200257 Steps to reproduce: Thunderbird 31.2.0 Lightning 3.3.1 Ubuntu 14.04 When the "Provider for Google Calendar 1.0.1" is enabled, the new task dialog ignores the default setting for task reminder in the preferences and starts with "no reminder". 1) In Calendar preferences set "Default time a reminder is set before a task" to "0 minutes" 2) Create a new task Actual results: The default reminder is "No reminder" Expected results: Default reminder should be "0 minutes before"
Component: Untriaged → Provider: GData
Product: Thunderbird → Calendar
Version: 31 → Lightning 3.3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Google calendar provider ignores default new task reminder setting → Google calendar provider ignores default new event/task reminder setting
I'd like to add that if the Provider is enabled, the described behavior can be seen even with non-Google (CalDAV, local) calendars.
Priority: -- → P1
Sorry, I'm with other projects atm, but I got argued by this bug too. The attached patch (created from 1.0.2 shipped version) at least corrects this behaviour for non-Google calendars. The provider should not touch non-Google calendars at all... It has to be discussed, whether we need to have a different reminder setting in GData Provider separated from Google settings - I mean, whether we want to keep the Lightning default reminder for Google calendars that are set to have no reminder as default.
Attachment #8531540 - Flags: review?(philipp)
OS: Linux → All
Hardware: x86_64 → All
Sorry for confusion: the patch above is not working! Indeed the loadReminders() has to be patched to make default reminders work for non-Google calendars. This second patch would be sufficient, but as stated above (reminders should only be touched for Google calendars), it would be more safe to apply the first patch as well.
Attachment #8531550 - Flags: review?(philipp)
Wrong direction... corrected.
Attachment #8531550 - Attachment is obsolete: true
Attachment #8531550 - Flags: review?(philipp)
Attachment #8531552 - Flags: review?(philipp)
I applied both patches and the problem is corrected for me.
Comment on attachment 8531540 [details] [diff] [review] patch for gdata-calendar-event-dialog.js Thanks for the patches. I've applied them locally, will release them as part of 1.0.3 and then make sure the result is committed to comm-central in bug 1079189 afterwards. I'm marking this as FIXED even though its not committed yet. The process for the 1.0.x releases is a bit messy, I apologize.
Attachment #8531540 - Flags: review?(philipp) → review+
Attachment #8531552 - Flags: review?(philipp) → review+
Assignee: nobody → giermann
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
At least in version 4.4.1 we have a regression of this bug, although I already checked the code and it should exit when not operating on a Google calendar (gdata-event-dialog-reminder.js). But again, when I disable the addon, the default alarm is being set on new events. Should we reopen this bug or file a new one?
Flags: needinfo?(philipp)
Please file a new one - we shouldn't reopen a bug that has been fixed for about four years now.
Flags: needinfo?(philipp)
Please post the new bug ID here so others can follow it.
Is this new activity a dupe of bug 1481043?
Yes, I already found bug 1481043, applied the provided patch and it works again. So it's very likely to see an updated version of the provider soon!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: