Closed Bug 351852 Opened 18 years ago Closed 17 years ago

No tooltip for recurring event where all occurrences are exceptions [error in getCurrentNextOrPreviousRecurrence]

Categories

(Calendar :: Internal Components, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WORKSFORME

People

(Reporter: ssitter, Unassigned)

Details

No tooltip for recurring event where all occurrences are exceptions [error in getCurrentNextOrPreviousRecurrence]

Steps to Reproduce:
1. Start Sunbird with clean profile
2. Selected 'All Events' filter in unifinder
3. Create repeating event (occurs daily, repeat for 2 occurrences)
4. Select first occurrence and delete it. Select 'This occurrence' in
   upcoming dialog. (Proceed if dialog is not shown -> Bug 332266)
5. Select second occurrence and delete it too. Select 'This occurrence' again.
6. Hover mouse over the event in unifinder to see tooltip information

Actual Results:
Only small empty tooltip is shown for event. Error in console:

Error: uncaught exception: [Exception... "Not enough arguments"  nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)"  location: "JS frame :: chrome://calendar/content/calendarUtils.js :: getCurrentNextOrPreviousRecurrence :: line 279"  data: no]

Expected Results:
Sunbird should not fail. There is probably some error checking required in the recurrence code. 
I'm not sure if there should be a tooltip displayed or not.

Additional Information:
Bug 351850 was filed about the issue that such events can be created.
This bug was filed to handle existing events better.

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060908 Calendar/0.3a2+
Using Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.5pre)
Gecko/20070702 Calendar/0.7pre the error is now:

   Error: occ has no properties
   Source File: chrome://calendar/content/mouseoverPreviews.js
   Line: 248
Seems fixed in 0.8pre, can anyone confirm?
WFM, too.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Verified WFM using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12pre) Gecko/2008020404 Calendar/0.8pre.

Using a Trunk nightly build no tooltip is shown at all in the unifinder - but that is a different bug.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.