Closed Bug 1061672 Opened 10 years ago Closed 8 years ago

Import json-file from Firefox (or even from SeaMonkey) do not work

Categories

(Toolkit :: Places, defect)

32 Branch
x86_64
All
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: stefan_gies, Unassigned)

References

Details

Attachments

(6 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0 Build ID: 20140825202822 Steps to reproduce: I exported the bookmarks from Firefox v32.00 to a json-file. After that I started Semonkey v2.29 Beta 2 Build 1 to import this file. Actual results: The file-open-dialog will be opened and after selecting the file, an error occured with "The backupfile could not be imported". See attached screenshot. Expected results: The json-file replaced the present bookmarks.
Guessing that you're seeing this? Bug 942937 - Deprecation warning "PlacesBackups.getMostRecent is deprecated and will be removed in a future version" in nsSuiteGlue.js (port bug 859695) Note that you cannot import any .json backups, not even SeaMonkey's own. (SeaMonkey 2.26.1 is able to import.)
The error occure also if I import the json-file from Seamonkey. Errormessage was "Filetype not supported"
Summary: Import json-file from Firefox do not work → Import json-file from Firefox (or even from SeaMonkey) do not work
rsx11m pointed out that FF is also affected, & it is, so moving to Core. Likewise, suppose the bug I pointed out is not the issue at hand.
Status: UNCONFIRMED → NEW
Component: Bookmarks & History → General
Ever confirmed: true
Product: SeaMonkey → Core
Version: SeaMonkey 2.29 Branch → 32 Branch
Component: General → Places
Product: Core → Toolkit
can you please send me by mail the json file you can't restore into Firefox?
This is my .json-file from Seamonkey v2.29
Attached file bookmarks-Firefox.json
Here my Firefox v33.00 Beta 5 Build 1 .json-file
Will import, bookmarks-2014-09-13.json
Will not import, bookmarks-2014-09-20.json
Screenshot - Diff
I have two .json in my /bookmarkbackups/. bookmarks-2014-09-13 - Copy.json & bookmarks-2014-09-20 - Copy.json 13 will import. 20 will not. I did a s/{/&\r/g on them to try to make them a bit more readable. I notice that all lines begin with a quote (") except lines 30 & 31. Suspect that something not kosher is going on there causing the import to fail. (Let me also just mention .json vs .jsonlz4.)
looks like on of the 2 has a bookmarklet that maybe it's not well escaped, this "Target new windows" bookmark. The lvermark loadfailed and expiration should also not be there as well, they are not real items from a long time.
so will this problem ever been fixed in a forthcoming Version??
Flags: firefox-backlog+
mozillazine thread for reference: All bookmarks lost, SM can't read its backup files http://forums.mozillazine.org/viewtopic.php?f=40&t=2868035
so what means: Flags: firefox-backlog+
(In reply to Mario from comment #16) > so what means: Flags: firefox-backlog+ It means it is part of our Product Backlog and is a bug we can schedule for development in an upcoming iteration.
Modify OS due to DUPs
OS: Linux → All
I believe this was fixed on the SeaMonkey end by, Bug 1116446 - Cannot restore bookmarks from backup JSON file.
not actionable
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: