Closed
Bug 601643
Opened 11 years ago
Closed 10 years ago
Error during startup [NS_ERROR_FILE_ACCESS_DENIED in mozIStorageService.openSpecialDatabase() in calmgr_checkAndMigrateDB()]
Categories
(Calendar :: Provider: Local Storage, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.0b4
People
(Reporter: ssitter, Assigned: Fallen)
Details
(Whiteboard: [needed beta][no l10n impact])
Attachments
(1 file)
888 bytes,
patch
|
mschroeder
:
review+
|
Details | Diff | Splinter Review |
Lightning 1.1a1pre (BuildID: 20101003041818) with Mozilla/5.0 (Windows NT 6.1; rv:2.0b7pre) Gecko/20101004 Thunderbird/3.3a1pre Steps To Reproduce: 1. create new Thunderbird profile 2. install Lightning 3. restart Thunderbird 4. restart Thunderbird again Actual Result: [[[ Error: Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [mozIStorageService.openSpecialDatabase] Source file: file:///C:/.../calendar-js/calCalendarManager.js Line: 438 ]]] [[[ Warning: WARN addons.manager: Exception calling callback: [Exception... "Component returned failure code: 0x80520015 (NS_ERROR_FILE_ACCESS_DENIED) [mozIStorageService.openSpecialDatabase]" nsresult: "0x80520015 (NS_ERROR_FILE_ACCESS_DENIED)" location: "JS frame :: file:///C:/.../calendar-js/calCalendarManager.js :: calmgr_checkAndMigrateDB :: line 438" data: no] ]]] File storage.sdb doesn't exists in the profile folder and is not created by Lightning as expected.
Assignee | ||
Updated•11 years ago
|
Flags: blocking-calendar1.0+
Whiteboard: [needed beta][no l10n impact]
Assignee | ||
Comment 1•10 years ago
|
||
This should take care. I still have no idea why the core code is failing, but this will fix it without waiting for the core guys to fix it.
Assignee | ||
Updated•10 years ago
|
Whiteboard: [needed beta][no l10n impact] → [needed beta][no l10n impact][needs review]
Comment 2•10 years ago
|
||
Comment on attachment 492992 [details] [diff] [review] Fix - v1 r=mschroeder with following nits considered: Please, replace tabs with spaces, and correct 'storageSDB' to camel-case 'storageSdb'. You can also use Services.storage for dbService.
Attachment #492992 -
Flags: review?(mschroeder) → review+
Comment 3•10 years ago
|
||
Comment on attachment 492992 [details] [diff] [review] Fix - v1 I haven't tested this myself. Also comment#0 says that there doesn't exist a storage.sdb at all.
Updated•10 years ago
|
Whiteboard: [needed beta][no l10n impact][needs review] → [needed beta][no l10n impact]
Assignee | ||
Comment 4•10 years ago
|
||
nits fixed. I've taken the liberty of also changing the code in calStorageProvider, so we don't run into problems there either.
Assignee | ||
Comment 5•10 years ago
|
||
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/6036661e9d7b> -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Trunk
You need to log in
before you can comment on or make changes to this bug.
Description
•