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

RESOLVED INCOMPLETE

Status

()

Toolkit
Places
RESOLVED INCOMPLETE
4 years ago
a year ago

People

(Reporter: Stefan Gies, Unassigned)

Tracking

32 Branch
x86_64
All
Points:
---
Bug Flags:
firefox-backlog +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(6 attachments)

(Reporter)

Description

4 years ago
Created attachment 8482711 [details]
Bildschirmfoto vom 2014-09-02 15:52:21.png

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.

Comment 1

4 years ago
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.)
(Reporter)

Comment 2

4 years ago
The error occure also if I import the json-file from Seamonkey. Errormessage was "Filetype not supported"

Updated

4 years ago
Summary: Import json-file from Firefox do not work → Import json-file from Firefox (or even from SeaMonkey) do not work

Comment 3

4 years ago
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

Updated

4 years ago
Component: General → Places
Product: Core → Toolkit
can you please send me by mail the json file you can't restore into Firefox?
(Reporter)

Comment 5

4 years ago
Created attachment 8493034 [details]
bookmarks-2014-09-22.json

This is my .json-file from Seamonkey v2.29
(Reporter)

Comment 6

4 years ago
Created attachment 8493044 [details]
bookmarks-Firefox.json

Here my Firefox v33.00 Beta 5 Build 1 .json-file

Comment 7

4 years ago
Created attachment 8496562 [details]
bookmarks-2014-09-13.json

Will import, bookmarks-2014-09-13.json

Comment 8

4 years ago
Created attachment 8496563 [details]
bookmarks-2014-09-20.json

Will not import, bookmarks-2014-09-20.json

Comment 9

4 years ago
Created attachment 8496564 [details]
SeaMonkey bookmarkbackups JSON corruption.png

Screenshot - Diff

Comment 10

4 years ago
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.

Comment 12

4 years ago
so will this problem ever been fixed in a forthcoming Version??

Updated

4 years ago
Flags: firefox-backlog+

Comment 13

4 years ago
mozillazine thread for reference:

All bookmarks lost, SM can't read its backup files
http://forums.mozillazine.org/viewtopic.php?f=40&t=2868035

Updated

4 years ago
Duplicate of this bug: 1082534

Updated

4 years ago
Duplicate of this bug: 1103355

Comment 16

4 years ago
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.

Updated

4 years ago
Duplicate of this bug: 1108694

Comment 19

2 years ago
Modify OS due to DUPs
OS: Linux → All

Updated

2 years ago
Duplicate of this bug: 1060853

Comment 21

2 years ago
I believe this was fixed on the SeaMonkey end by, Bug 1116446 - Cannot restore bookmarks from backup JSON file.
not actionable
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.