Last Comment Bug 828754 - Error applying Incomplete Tasks filter in Task View [Error: getRidKey(...) is null]
: Error applying Incomplete Tasks filter in Task View [Error: getRidKey(...) is...
: regression
Product: Calendar
Classification: Client Software
Component: Internal Components (show other bugs)
: Lightning 2.2
: All All
: -- normal (vote)
: 2.2
Assigned To: Matthew Mecca [:mmecca]
Depends on:
Blocks: 734245
  Show dependency treegraph
Reported: 2013-01-09 17:16 PST by Matthew Mecca [:mmecca]
Modified: 2013-01-20 05:22 PST (History)
1 user (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---

Fix v1 (2.10 KB, patch)
2013-01-09 18:28 PST, Matthew Mecca [:mmecca]
philipp: review+
philipp: approval‑calendar‑aurora+
Details | Diff | Splinter Review

Description Matthew Mecca [:mmecca] 2013-01-09 17:16:21 PST
Attempting to switch to the Incomplete Tasks filter in Lightning 2.2a2 fails and results in multiple occurrences of:

Error: getRidKey(...) is null
Source File: resource://calendar/modules/calUtils.jsm -> file:///.../calendar-js/calRecurrenceInfo.js
Line: 352
Comment 1 Matthew Mecca [:mmecca] 2013-01-09 17:19:11 PST
Additionally the unit test test_recur.js is failing with:

TEST-UNEXPECTED-FAIL | xpcshell/head.js | [Exception... "'[JavaScript Error: "getRidKey(...) is null" {file: "resource://calendar/modules/calUtils.jsm -> file:///.../calendar-js/calRecurrenceInfo.js" line: 352}]' when calling method: [calIRecurrenceInfo::getNextOccurrence]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: /home/main/mozilla/obj-i686-pc-linux-gnu-comm-central/mozilla/_tests/xpcshell/calendar/test/unit/test_recur.js :: test_recur :: line 191"  data: yes]
Comment 2 Matthew Mecca [:mmecca] 2013-01-09 18:10:37 PST
Regression likely caused by Bug 734245
Comment 3 Matthew Mecca [:mmecca] 2013-01-09 18:28:56 PST
Created attachment 700175 [details] [diff] [review]
Fix v1

Handle null return from getRidKey()

Note You need to log in before you can comment on or make changes to this bug.