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

VERIFIED FIXED in 0.8

Status

Calendar
General
--
trivial
VERIFIED FIXED
11 years ago
11 years ago

People

(Reporter: ssitter, Assigned: Fallen)

Tracking

unspecified

Details

(Reporter)

Description

11 years ago
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;
(Reporter)

Comment 1

11 years ago
Will be fixed by attachment 298543 [details] [diff] [review] in Bug 413516.
Depends on: 413516
(Reporter)

Updated

11 years ago
Assignee: nobody → philipp
(Reporter)

Comment 2

11 years ago
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
Last Resolved: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.8
(Reporter)

Comment 3

11 years ago
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.