Closed
Bug 435877
Opened 18 years ago
Closed 18 years ago
UTF-8 decoding problem breaks wcap calendar
Categories
(Calendar :: Provider: WCAP, defect)
Calendar
Provider: WCAP
Tracking
(Not tracked)
VERIFIED
FIXED
0.9
People
(Reporter: dbo, Assigned: dbo)
Details
(Keywords: regression)
Attachments
(3 files)
|
14.06 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
|
1.10 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
|
2.37 KB,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
Due to recent changes to calWcapRequest (especially introducing strong UTF-8 decoding), some calendars break on loading their user prefs. CS doesn't encode proper UTF-8, thus the octet conversion to UTF-8 fails. Although this is for sure a cs bug, we need to be error tolerant on reading.
Flags: blocking-calendar0.9+
| Assignee | ||
Updated•18 years ago
|
Summary: UTF-8 decoding problems breaks calendar → UTF-8 decoding problem breaks wcap calendar
| Assignee | ||
Comment 1•18 years ago
|
||
Assignee: nobody → daniel.boelzle
Status: NEW → ASSIGNED
Attachment #322804 -
Flags: review?(philipp)
Comment 2•18 years ago
|
||
Comment on attachment 322804 [details] [diff] [review]
moving back to unichar stream loader
>+ * Returns true if this is MOZILLA_1_8_BRANCH, else false.
>+ */
>+function isBranch() {
>+ if (isBranch.mIsBranch === undefined) {
>+ isBranch.mIsBranch = (Components.interfaces.nsIStreamLoader.number == "{31d37360-8e5a-11d3-93ad-00104ba0fd40}");
>+ }
>+ return isBranch.mIsBranch;
>+}
Components.classes["@mozilla.org/xre/app-info;1"].getService(Components.interfaces.nsIXULAppInfo).platformVersion.match(/^1.8/);
r=philipp
Attachment #322804 -
Flags: review?(philipp) → review+
| Assignee | ||
Comment 3•18 years ago
|
||
(In reply to comment #2)
> (From update of attachment 322804 [details] [diff] [review])
> >+ * Returns true if this is MOZILLA_1_8_BRANCH, else false.
> >+ */
> >+function isBranch() {
> >+ if (isBranch.mIsBranch === undefined) {
> >+ isBranch.mIsBranch = (Components.interfaces.nsIStreamLoader.number == "{31d37360-8e5a-11d3-93ad-00104ba0fd40}");
> >+ }
> >+ return isBranch.mIsBranch;
> >+}
> Components.classes["@mozilla.org/xre/app-info;1"].getService(Components.interfaces.nsIXULAppInfo).platformVersion.match(/^1.8/);
Hmm, I was thinking about that, too. But app-info is not available e.g. in unit tests, thus I moved over to testing some interface version that has changed from branch to trunk. Any objections against doing so?
| Assignee | ||
Comment 4•18 years ago
|
||
Checked in on HEAD and MOZILLA_1_8_BRANCH => FIXED.
Philipp, if your have any objections w.r.t. comment #3, we can fix that later on.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.9
| Assignee | ||
Comment 5•18 years ago
|
||
repopening because of code regression
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 6•18 years ago
|
||
Attachment #323865 -
Flags: review?(philipp)
Updated•18 years ago
|
Attachment #323865 -
Flags: review?(philipp) → review+
| Assignee | ||
Comment 7•18 years ago
|
||
Checked in fix on HEAD and MOZILLA_1_8_BRANCH =< FIXED again.
Status: REOPENED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•18 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 8•18 years ago
|
||
Attachment #324012 -
Flags: review?(philipp)
Updated•18 years ago
|
Attachment #324012 -
Flags: review?(philipp) → review+
| Assignee | ||
Comment 9•18 years ago
|
||
Checked in trunk patch on HEAD and MOZILLA_1_8_BRANCH => FIXED once again.
Status: REOPENED → RESOLVED
Closed: 18 years ago → 18 years ago
Resolution: --- → FIXED
Comment 10•18 years ago
|
||
Checked in lightning build 2008080603 and sunbird 20080805 -> VERIFIED
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•