Closed Bug 296198 Opened 20 years ago Closed 20 years ago

fresh profile startup: events added to new local calendar fail to appear until restart

Categories

(Calendar :: General, defect)

x86
Windows 2000
defect
Not set
normal

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+

Events added to a newly created  calendar fail to appear.
However, they do appear when sunbird restarts.

Reproducible: Always

Steps to Reproduce:
0. rename or delete old sunbird profile 
1. start sunbird
2. has no initial calendar, so do: File | New Calendar File | local, next, finish
3. create new event with title, click ok.

Actual Results:  
new event did not appear in any view after step 3.
However, after restarting calendar, event does appear.

Expected Results:  
new event appears on views (such as All Events unifinder view) after clicking ok
in step 3.



After step 2, the following appears in JavaScript console:

Error: mozStorage exception: createStatement failed, statement: 'SELECT version
FROM cal_calendar_schema_version LIMIT 1', error: 'no such table:
cal_calendar_schema_version'
Source File: file:///C:/PROGRA~1/Sunbird/components/calStorageCalendar.js
Line: 130
Attached patch patch v1 — — Splinter Review
this patch add a new calendar to the composite calendar, so that it is visible
by default (like the checkbox says it is)
Attachment #185194 - Flags: first-review?(mostafah)
Comment on attachment 185194 [details] [diff] [review]
patch v1

r+ for the linefeed :)
But as for the first part, I'm not up to date with the state of the code to be
eligible to review. Sorry about that
Attachment #185194 - Flags: first-review?(mostafah)
Attachment #185194 - Flags: first-review?(pavlov)
Attachment #185194 - Flags: second-review+
patch checked in
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Attachment #185194 - Flags: first-review?(pavlov)
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: