Closed Bug 298843 Opened 20 years ago Closed 20 years ago

can't complete a task

Categories

(Calendar :: Sunbird Only, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Lightning 0.1

People

(Reporter: mvl, Assigned: mostafah)

References

Details

(Keywords: regression)

Attachments

(1 file)

When trying to use the checkbox in the tasklist: [Exception... "'[JavaScript Error: "calendarToDo.completedDate has no properties" {file: "chrome://calendar/content/unifinderToDo.js" line: 346}]' when calling method: [nsITreeView::cycleCell]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: chrome://global/content/bindings/tree.xml :: onxblmousedown :: line 600" data: yes] When trying to use the dialog: [Exception... "'[JavaScript Error: "event.entryDate has no properties" {file: "chrome://calendar/content/eventDialog.js" line: 508}]' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "<unknown>" data: yes]
Keywords: regression
Blocks: 298936
I fiex the error from comment 0, but that isn't enough. The storage provider doesn't seem to like todo's without an entryDate. the select qeury wants a value, but the entry in the database is null.
Attached file testcase —
attached a xpcshell testcase. You need the commented-out part the first run, to populate the calendar. You might need to change the /tmp/cal.sdb path. It doesn't return any items on getting, while it should return two.
Target Milestone: --- → Lightning 0.8
This is fixed; I can complete tasks, and get them back from the storage calendar.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: