Closed
Bug 370685
Opened 19 years ago
Closed 19 years ago
Error when switching between General and Timezone preference tab
Categories
(Calendar :: Sunbird Only, defect)
Calendar
Sunbird Only
Tracking
(Not tracked)
VERIFIED
FIXED
Sunbird 0.5
People
(Reporter: ssitter, Assigned: ssitter)
References
Details
(Keywords: regression)
Attachments
(2 files)
|
1.20 KB,
patch
|
mattwillis
:
first-review-
mvl
:
second-review+
|
Details | Diff | Splinter Review |
|
3.44 KB,
patch
|
mattwillis
:
first-review+
mvl
:
second-review+
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.2pre) Gecko/20070216 Calendar/0.4a1
Steps to Reproduce:
1. Start Sunbird with clean profile
2. Open preferences, switch to Timezone tab, select timezone, save and close
3. Open preferences, switch from Timezone tab to General tab
Actual Results:
There are no preferences values displayed in the General tab, just empty edit boxes. First error in console:
Error: redeclaration of const Cc
Source File: chrome://calendar/content/calUtils.js
Line: 42
followed by several identical errors (probably once for each preference):
Error: this.preferences.rootBranchInternal has no properties
Source File: chrome://global/content/bindings/preferences.xml
Line: 68
Expected Results:
All preferences are stored and displayed correct. No error messages in console.
| Assignee | ||
Comment 1•19 years ago
|
||
Regression from Bug 366560
Works in Sunbird/0.4a1 (2007-02-12-03)
Fails in Sunbird/0.4a1 (2007-02-12-21)
Blocks: 366560
Keywords: regression
Comment 2•19 years ago
|
||
calUtils isn't needed for the general pane, from everything I can tell.
Assignee: nobody → jminta
Status: NEW → ASSIGNED
Attachment #255488 -
Flags: second-review?(mvl)
Attachment #255488 -
Flags: first-review?(lilmatt)
Comment 3•19 years ago
|
||
Comment on attachment 255488 [details] [diff] [review]
patch
r=lilmatt
Attachment #255488 -
Flags: first-review?(lilmatt) → first-review+
Comment 4•19 years ago
|
||
Comment on attachment 255488 [details] [diff] [review]
patch
r2=mvl
Attachment #255488 -
Flags: second-review?(mvl) → second-review+
Updated•19 years ago
|
Whiteboard: [needs checkin]
| Assignee | ||
Comment 5•19 years ago
|
||
Comment on attachment 255488 [details] [diff] [review]
patch
gGeneralPane::init() uses function now() from calUtils.js
Comment 6•19 years ago
|
||
Comment on attachment 255488 [details] [diff] [review]
patch
minusing based on ssitter's discovery
Attachment #255488 -
Flags: first-review+ → first-review-
Comment 7•19 years ago
|
||
We'll need to figure out another way around this issue.
Whiteboard: [needs checkin]
| Assignee | ||
Comment 8•19 years ago
|
||
Attachment #257415 -
Flags: second-review?(mvl)
Attachment #257415 -
Flags: first-review?
| Assignee | ||
Updated•19 years ago
|
Attachment #257415 -
Flags: first-review? → first-review?(lilmatt)
Comment 9•19 years ago
|
||
Comment on attachment 257415 [details] [diff] [review]
rev0 - include calUtils.js only once
This is what I was thinking of doing, but hadn't gotten around to testing. Nice. r=lilmatt
Attachment #257415 -
Flags: first-review?(lilmatt) → first-review+
Comment 10•19 years ago
|
||
Comment on attachment 257415 [details] [diff] [review]
rev0 - include calUtils.js only once
r2=mvl
Attachment #257415 -
Flags: second-review?(mvl) → second-review+
Updated•19 years ago
|
Assignee: jminta → ssitter
Status: ASSIGNED → NEW
Target Milestone: --- → Sunbird 0.5
Comment 11•19 years ago
|
||
Patch checked in on MOZILLA_1_8_BRANCH and trunk.
-> FIXED
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 12•19 years ago
|
||
Verified with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4pre) Gecko/20070405 Calendar/0.5pre.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•