Closed Bug 304617 Opened 19 years ago Closed 19 years ago

completed date mouseover preview js error

Categories

(Calendar :: Sunbird Only, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Sunbird 0.3

People

(Reporter: gekacheka, Assigned: mostafah)

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20050813 Mozilla Sunbird/0.2+

Mousing over a task with a completed date in task list produces error
  Error: toDoItem.completedDate has no properties
  Source File: chrome://calendar/content/mouseoverPreviews.js
  Line: 180


Reproducible: Always

Steps to Reproduce:
1. create task with completed date
2. hover mouse over task in task list


Actual Results:  
JS console shows
  Error: toDoItem.completedDate has no properties
  Source File: chrome://calendar/content/mouseoverPreviews.js
  Line: 180


Expected Results:  
No error, mouseover preview shows completed date.
Keywords: regression
Target Milestone: --- → Sunbird 0.3
Version: unspecified → Trunk
(patch -l -p 2 -i file.patch)

If percent complete is 100% but completed date is null, show percent complete.
(should not happen for tasks saved by sunbird, but may from other programs.)
Attachment #192669 - Flags: first-review?(mvl)
Comment on attachment 192669 [details] [diff] [review]
mouseoverPrevious.js patch: check for null completed date

r=mvl
Attachment #192669 - Flags: first-review?(mvl) → first-review+
patch checked in
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: