Closed Bug 423085 Opened 16 years ago Closed 16 years ago

[Bookmark] restore from JSON, Japanese is garbled

Categories

(Firefox :: Bookmarks & History, defect, P1)

defect

Tracking

()

VERIFIED FIXED
Firefox 3 beta5

People

(Reporter: bugmozz, Assigned: takenspc)

References

Details

(Keywords: regression)

Attachments

(2 files, 3 obsolete files)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5pre) Gecko/2008031415 Minefield/3.0b5pre ID:2008031415


original, http://img170.imageshack.us/img170/5185/a1if1.jpg

after restore, http://img228.imageshack.us/img228/5641/a2kz7.jpg
Attached patch Patch v1 (obsolete) — Splinter Review
|unescape|-ing |encodeURIComponent|-ed string is wrong. We should use |decodeURIComponent|.
Assignee: nobody → taken.spc
Status: NEW → ASSIGNED
Attachment #309594 - Flags: review?(mano)
Severity: normal → major
Flags: blocking-firefox3?
Attached patch Patch v2 (obsolete) — Splinter Review
Previous patch breaks backward compatibility for backup files today's build generated. This patch adds backward compatibility.

# |decodeURIComponent|-ing |encodeURIComponent|-ed string is doing nothing, make it simple :-).
Attachment #309594 - Attachment is obsolete: true
Attachment #309608 - Flags: review?(mano)
Attachment #309594 - Flags: review?(mano)
Attached patch Patch v2 (obsolete) — Splinter Review
Oops! Wrong file was uploaded!
Attachment #309608 - Attachment is obsolete: true
Attachment #309610 - Flags: review?(mano)
Attachment #309608 - Flags: review?(mano)
Comment on attachment 309610 [details] [diff] [review]
Patch v2

I prefer breaking compat. rather than extending the file size that much, it's trunk!
Attachment #309610 - Flags: review?(mano) → review-
Attached patch Patch v3Splinter Review
OK. Simply pass the string.
Attachment #309610 - Attachment is obsolete: true
Attachment #309627 - Flags: review?(mano)
Attachment #309627 - Flags: review?(mano) → review+
Attachment #309627 - Flags: approval1.9?
OS: Windows XP → All
Priority: -- → P1
Hardware: PC → All
Target Milestone: --- → Firefox 3 beta5
Flags: blocking-firefox3? → blocking-firefox3+
mozilla/toolkit/components/places/src/utils.js 1.6
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Attached image screenshot
20080317_0038_firefox-3.0b5pre.en-US.win32.zip

not fixed.
sorry, fixed.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5pre) Gecko/2008031705 Minefield/3.0b5pre

1) delete old backup file
2) start/exit minefield
3) new backup file is created

(create new profile)

4) launch Minefield
5) open Library, Import and Backup >> Restore
6) choose above new backup file

maybe something wrong with old backup file.
verified with: 
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5pre)
Gecko/2008032106 Minefield/3.0b5pre
and
Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9b5pre)
Gecko/2008032104 Minefield/3.0b5pre
Status: RESOLVED → VERIFIED
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".

In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body   contains   places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.

Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.

Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: