Closed Bug 247864 Opened 20 years ago Closed 20 years ago

reference to undefined property eventA.title, eventB.title (strict javascript warning)

Categories

(Calendar :: Sunbird Only, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gekacheka, Assigned: mostafah)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616

Warning reference to undefined property eventA.title
calendarEvent.js   line 580

Warning reference to undefined property eventB.title
calendarEvent.js   line 580

Warning reference to undefined property eventA.title
calendarEvent.js   line 581

Warning reference to undefined property eventB.title
calendarEvent.js   line 581

Reproducible: Always
Steps to Reproduce:
1.  Create two events with the same times and same title
2.  View them in week view
3.

Actual Results:  
strict javascript warnings above

Expected Results:  
no warnings
Warnings are with (about:config) javascript.options.strict preference set to
true.

Substitutes "" for title if event does not have title property, or title is
null.
Checked in.
Thanks
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: gurganbl → sunbird
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: