Closed Bug 408240 Opened 18 years ago Closed 18 years ago

Reading backup preferences fails [Error: backupBranch is not defined]

Categories

(Calendar :: Provider: ICS/WebDAV, defect)

defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ssitter, Assigned: dbo)

References

()

Details

Attachments

(1 file)

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.12pre) Gecko/20071213 Calendar/0.8pre The following error was shown in Venkman during event creation/editing: Error "backupBranch is not defined" [x-] in file "file:///D:/sunbird/js/calICSCalendar.js", line 625. backupBranch is accessed in function getIntPrefSafe() but is never created: http://lxr.mozilla.org/seamonkey/source/calendar/providers/ics/calICSCalendar.js#625 This means the backup code will always fallback to the default values passed in. Not sure if this is on purpose or not. The first iteration of the patch in Bug 307033 defined backupBranch, the second and third iteration did not.
Flags: wanted-calendar0.9?
OS: Windows 2000 → All
Hardware: PC → All
Version: Mozilla 1.8 Branch → unspecified
Flags: wanted-calendar0.9? → wanted-calendar0.9+
Attached patch fixSplinter Review
Assignee: nobody → daniel.boelzle
Status: NEW → ASSIGNED
Attachment #323387 - Flags: review?(mvl)
Attachment #323387 - Flags: review?(mvl) → review+
Checked in on HEAD and MOZILLA_1_8_BRANCH => FIXED.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.9
Checked via mxr.mozilla.org -> VERIFIED.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: