Closed Bug 296194 Opened 21 years ago Closed 21 years ago

fresh profile startup: no initial calendar [trunk]

Categories

(Calendar :: General, defect)

x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gekacheka, Assigned: mostafah)

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050526 Mozilla Sunbird/0.2+ When starting sunbird from a new profile, there is no initial calendar. Reproducible: Always Steps to Reproduce: 0. rename or delete old sunbird profile directory 1. start sunbird Actual Results: 1. there are no calendars in the calendars tab. 2. because there are no calendars, creating a new event fails on 'ok' with Error: document.getElementById("server-field").selectedItem has no properties Source File: chrome://calendar/content/eventDialog.js Line: 707 Expected Results: An initial calendar in calendars tab. Creating an event should work.
The last patch in bug 285014 tries to do something about that.
Attached patch patch v1Splinter Review
Patch adds a home calendar when no calendar exists. Not sure if this is the right place to do this, we might want a general Initialize() somewhere, that also sets the timezone etc. But for now, this should do it.
Attachment #185260 - Flags: first-review?(pavlov)
Attachment #185260 - Flags: first-review?(pavlov) → first-review+
patch checked in
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
QA Contact: gurganbl → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: