Closed
Bug 438372
Opened 17 years ago
Closed 17 years ago
Sunbird 0.8 opens newer database from 0.9pre but fails to read - schema check not working
Categories
(Calendar :: Provider: Local Storage, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
0.9
People
(Reporter: ssitter, Assigned: dbo)
References
Details
From Bug 437622 Comment #5 and following:
Steps to Reproduce:
1. Create new profile using a recent Sunbird 0.9pre test build
2. Try to open profile using Sunbird 0.8 release builds
Actual Results:
Profile can be opened using Sunbird 0.8 but Sunbird fails to read the database because it uses a newer database schema.
Expected Results:
Start is not possible. Popup dialog "The calendar data in your profile was updated by a newer version of Sunbird, and continuing will probably cause the information to be lost or corrupted. Sunbird will now quit."
Additional Information:
There is probably something wrong in the database upgrade procedure.
Bug 419601 raised DB_SCHEMA_VERSION from 8 to 9 about some months ago.
Bug 363191 raised DB_SCHEMA_VERSION from 8 to 9 again some days ago.
I guess the code that prevents opening newer database somehow looks at the wrong version. Maybe the error in Comment #0 is caused by such a version mismatch too. One part of Sunbird thinks it's updated, another part not.
The schema check should compare both versions in the future and should prevent startup if one of the versions has been updated.
To prevent the error with Sunbird 0.8 we probably should bump both versions to 10 to correctly trigger the schema check.
| Assignee | ||
Updated•17 years ago
|
Assignee: nobody → daniel.boelzle
| Assignee | ||
Comment 1•17 years ago
|
||
Should be fixed with bug 413908.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•17 years ago
|
Target Milestone: --- → 0.9
Comment 2•17 years ago
|
||
I still have the this problem with tinderbox build Sunbird 2008061807 under Windows XP.
I get two error windows when starting Sunbird, both containing:
Error number: 0x80004005
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [calICalendar.uri]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: file:///F:/Sunbird/components/calItemModule.js -> file:///F:/Sunbird/js/calCalendarManager.js :: cmgr_createCalendar :: line 527" data: no]
And also the calendar entries are not shown. The timezone add-on is installed.
| Reporter | ||
Comment 3•17 years ago
|
||
Sven, I don't think this bug addresses your issue because you are not trying to open an upgraded profile in an older release. Maybe Bug 437622 or Bug 428324.
You need to log in
before you can comment on or make changes to this bug.
Description
•