Closed
Bug 293896
Opened 19 years ago
Closed 19 years ago
can't create a new storage calendar
Categories
(Calendar :: Provider: Local Storage, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
Lightning 0.1
People
(Reporter: mvl, Assigned: vlad)
References
Details
When tryin to create a new storage calendar, i get those errors: [JavaScript Error: "mozStorage exception: createStatement failed, statement: 'SELECT version FROM cal_calendar_schema_version LIMIT 1', error: 'no such table: cal_calendar_schema_version'" {file: "file:///home/michiel/mozhack/tree1/obj/dist/bin/components/calStorageCalendar.js" line: 130}] (which makes sense, because there is no file. it's a new calendar. Should not be an error) [JavaScript Error: "selectSchemaVersion has no properties" {file: "file:///home/michiel/mozhack/tree1/obj/dist/bin/components/calStorageCalendar.js" line: 770}] (line 770 is the one with selectSchemaVersion.reset();) which is because createStatement failed. .reset should likely be inside the try{} block. Additional problem is that the try/catch in createStatement makes the function never throw, so versionCheck() never notices that something failed. (additional problem after some testing: [JavaScript Error: "i is not defined" {file: "file:///home/michiel/mozhack/tree1/obj/dist/bin/components/calStorageCalendar.js" line: 1315}])
I don't get this, and can calendarManager.createCalendar(type=storage) just fine. Is this still an open issue?
Blocks: lightning-0.1
I can't reproduce this -> WFM.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Updated•19 years ago
|
Target Milestone: --- → Lightning 0.8
You need to log in
before you can comment on or make changes to this bug.
Description
•