Closed Bug 413111 Opened 16 years ago Closed 16 years ago

Strict warnings in calendar-dialog-utils.js [function recurrenceRule2String does not always return a value]

Categories

(Calendar :: General, defect)

defect
Not set
trivial

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ssitter, Assigned: Fallen)

References

Details

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12pre) Gecko/2008011902 Calendar/0.8pre

Open preference dialog or event dialog. Error Console shows JS strict warnings:

Warning: function recurrenceRule2String does not always return a value
Source File: chrome://calendar/content/calendar-dialog-utils.js
Line: 454, Column: 32
Source Code:
            return detailsString;

Warning: function recurrenceRule2String does not always return a value
Source File: chrome://calendar/content/calendar-dialog-utils.js
Line: 458, Column: 15
Source Code:
    return null;
Will be fixed by attachment 298543 [details] [diff] [review] in Bug 413516.
Depends on: 413516
Assignee: nobody → philipp
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12pre) Gecko/2008012309 Calendar/0.8pre

Warnings are gone now. Resolving as fixed by Bug 413516.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.8
Verified using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12pre) Gecko/2008012709 Calendar/0.8pre.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.