Closed
Bug 552042
Opened 15 years ago
Closed 15 years ago
Calendar registry not written after creating/deleting calendar
Categories
(Calendar :: Internal Components, defect)
Calendar
Internal Components
Tracking
(Not tracked)
RESOLVED
FIXED
1.0b2
People
(Reporter: Fallen, Assigned: Fallen)
Details
(Keywords: dataloss)
Attachments
(1 file)
|
3.08 KB,
patch
|
Taraman
:
review+
|
Details | Diff | Splinter Review |
STR:
1. Create a new calendar
2. Crash (Ctrl+C in console works too)
3. Restart
Actual Result:
* The prefs file is not written so the calendar is gone
Expected
* The prefs file should be written right away to avoid dataloss.
Attachment #432221 -
Flags: review?(Mozilla)
Comment 1•15 years ago
|
||
Comment on attachment 432221 [details] [diff] [review]
Fix - v1
patch looks good.
Just remove additional newline here:
>@@ -453,16 +464,18 @@ calCalendarManager.prototype = {
> selectPrefs.reset();
> }
>
> let sortOrderAr = [];
> for each (let s in sortOrder) {
> sortOrderAr.push(s);
> }
> cal.setPref("calendar.list.sortOrder", sortOrderAr.join(" "));
>+ flushPrefs();
>+
>
> } finally {
with that style-nit fixed
r=markus
Attachment #432221 -
Flags: review?(Mozilla) → review+
| Assignee | ||
Comment 2•15 years ago
|
||
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/c92a7236e227>
-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.0b2
You need to log in
before you can comment on or make changes to this bug.
Description
•