Closed
Bug 810172
Opened 13 years ago
Closed 12 years ago
session restore corrupts non ASCII quick filter data
Categories
(Thunderbird :: General, defect)
Thunderbird
General
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 30.0
People
(Reporter: m_kato, Unassigned)
References
Details
(Keywords: dataloss, intl, Whiteboard: [fixed by bug 894793])
Attachments
(1 file)
|
6.01 KB,
patch
|
Irving
:
review+
|
Details | Diff | Splinter Review |
We should save/read session.json by UTF-8. Also when saving session.json, we should use NetUtil.asyncCopy.
Step
1. input non-ASCII character (あああ) to quick filter on main Window.
2. quit Thunderbird
3. launch Thunderbird
Result
value of quick filter isn't 1's character.
| Reporter | ||
Updated•13 years ago
|
Assignee: nobody → m_kato
Updated•13 years ago
|
| Reporter | ||
Comment 1•13 years ago
|
||
- fix character encoding
- Use services.jsm for session restore code
- Use async store
| Reporter | ||
Updated•13 years ago
|
Attachment #680523 -
Flags: review?(irving)
Comment 2•13 years ago
|
||
Comment on attachment 680523 [details] [diff] [review]
fix
Review of attachment 680523 [details] [diff] [review]:
-----------------------------------------------------------------
This looks good. I wonder if there are other configuration and state files that don't handle non-ASCII data correctly.
Attachment #680523 -
Flags: review?(irving) → review+
| Reporter | ||
Comment 3•13 years ago
|
||
https://hg.mozilla.org/comm-central/rev/5296b0401e94
If using JSON file for any data with non-ASCII, this same problem will occur.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 19.0
| Reporter | ||
Comment 4•13 years ago
|
||
backout due to mozmill failure.
https://hg.mozilla.org/comm-central/rev/bcf2893ee19a
https://tbpl.mozilla.org/php/getParsedLog.php?id=17096940&tree=Thunderbird-Trunk
TEST-UNEXPECTED-FAIL | /home/cltbld/talos-slave/test/build/mozmill/session-store/test-session-store.js | test-session-store.js::test_periodic_session_persistence_simple
TEST-UNEXPECTED-FAIL | /home/cltbld/talos-slave/test/build/mozmill/session-store/test-session-store.js | test-session-store.js::test_periodic_nondirty_session_persistence
TEST-UNEXPECTED-FAIL | /home/cltbld/talos-slave/test/build/mozmill/session-store/test-session-store.js | test-session-store.js::test_single_3pane_periodic_session_persistence
TEST-UNEXPECTED-FAIL | /home/cltbld/talos-slave/test/build/mozmill/session-store/test-session-store.js | test-session-store.js::test_multiple_3pane_periodic_session_persistence
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Reporter | ||
Comment 5•13 years ago
|
||
humm, I change to async I/O code, but mozmill test expects sync'ed I/O... It depends on timing...
Comment 6•13 years ago
|
||
(In reply to Makoto Kato from comment #5)
> humm, I change to async I/O code, but mozmill test expects sync'ed I/O...
> It depends on timing...
there's another recent bug about this, no?
| Reporter | ||
Comment 7•13 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #6)
> (In reply to Makoto Kato from comment #5)
> > humm, I change to async I/O code, but mozmill test expects sync'ed I/O...
> > It depends on timing...
>
> there's another recent bug about this, no?
No, this problem is test code...
Comment 8•13 years ago
|
||
will this also fix bug 657478?
| Reporter | ||
Comment 9•13 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #8)
> will this also fix bug 657478?
That's right! That bug should be dup to this.
Comment 11•12 years ago
|
||
see also Bug 894793.
Comment 12•12 years ago
|
||
fixed in Bug 894793.
Status: REOPENED → RESOLVED
Closed: 13 years ago → 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Assignee: m_kato → nobody
Depends on: 894793
Whiteboard: [fixed by bug 894793]
Target Milestone: Thunderbird 19.0 → Thunderbird 30.0
You need to log in
before you can comment on or make changes to this bug.
Description
•