Event dialog: the Save&Close button can wrongly be in disabled status with tasks and timezone enabled

RESOLVED FIXED in 2.3

Status

Calendar
Dialogs
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: Decathlon, Assigned: Decathlon)

Tracking

Lightning 1.9

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
Steps to reproduce:

1. create a new task with entry date and due date and e.g. 1 hour duration;
2. enable and select different timezones for the two dates in a manner that the time difference between the timezones is positive and greater than the task duration e.g. 
    entry date:  Europe/Paris (UTC/GMT+1)
    due date:    America/New York (UTC/GMT-5);
3. change the time for the entry date so that the due date will be in the previous day e.g.
    entry date 09/01/2013 2:00  Europe/Paris
    due date   08/01/2013 21:00 America/New York;
4. save and close the dialog;
5. reopen the task;


Actual result:
When reopening the dialog, the Save and Close button is disabled and the status doesn't change even when selecting a new (correct) due date in the datepicker.
(Assignee)

Comment 1

4 years ago
Created attachment 704267 [details] [diff] [review]
patch - v1

The function updateAccept() doesn't keep in count the timezones for tasks.
The patch should fix.

This patch should be applied after the patch for bug 410427 (only for line numbers shifting).
Attachment #704267 - Flags: review?(philipp)
(Assignee)

Updated

4 years ago
Depends on: 410427
Comment on attachment 704267 [details] [diff] [review]
patch - v1

r=philipp
Attachment #704267 - Flags: review?(philipp) → review+
(Assignee)

Comment 3

4 years ago
Pushed to comm-central http://hg.mozilla.org/comm-central/rev/899bbca945e5
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.3
You need to log in before you can comment on or make changes to this bug.