Closed
Bug 694803
Opened 14 years ago
Closed 13 years ago
Save event with Ctrl-S after changing calendar produces misleading dialogues
Categories
(Calendar :: Dialogs, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.4
People
(Reporter: haroldtmunn, Assigned: mmecca)
Details
Attachments
(1 file)
|
1.68 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20100101 Firefox/8.0
Build ID: 20111011182523
Steps to reproduce:
Edit an event and assign the event to an alternate calendar.
Save the edited event by using Ctrl-S.
Exit out of the edit screen by pressing <esc>
Actual results:
A dialogue box appears asking if you wish to save or not save.
If you press "Save" an information box appears: "An error occurred when writing to the calendar "calendar-name". Details: Error code: "MODIFICATION_FAILED"
Expected results:
The change was accurately saved with Crtl-S; it makes no difference if you press "Save" or "Don't Save" in the dialogue box - the change is saved anyway.
The dialogue box should not appear.
The information box indicating an error should not appear.
| Assignee | ||
Comment 2•14 years ago
|
||
Confirming.
Assignee: nobody → matthew.mecca
Status: UNCONFIRMED → ASSIGNED
Component: General → Dialogs
Ever confirmed: true
QA Contact: general → dialogs
| Assignee | ||
Comment 3•13 years ago
|
||
When the calendar of the item is changed, onOperationComplete gets called twice on the listener, once when the new item is added to the new calendar and again when the old item is removed from the original calendar. This patch checks to make sure we're receiving the update on the right calendar before updating the window's item.
Attachment #591346 -
Flags: review?(philipp)
Comment 4•13 years ago
|
||
Comment on attachment 591346 [details] [diff] [review]
Fix v1
Review of attachment 591346 [details] [diff] [review]:
-----------------------------------------------------------------
Maybe you could add a comment there to make sure this is still taken into account when the code is changed.
Attachment #591346 -
Flags: review?(philipp) → review+
| Assignee | ||
Comment 5•13 years ago
|
||
Pushed to comm-central - http://hg.mozilla.org/comm-central/rev/145f94bea560
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.4
You need to log in
before you can comment on or make changes to this bug.
Description
•