Closed
Bug 444601
Opened 17 years ago
Closed 7 years ago
restoring JSON bookmark backup does not restore saved searches of tag containers
Categories
(Firefox :: Bookmarks & History, defect, P3)
Firefox
Bookmarks & History
Tracking
()
RESOLVED
FIXED
Firefox 61
People
(Reporter: erasable_edition804, Assigned: mak)
References
Details
(Keywords: dataloss, testcase, Whiteboard: [fixed by bug 1293445])
Attachments
(1 file)
136.00 KB,
application/octet-stream
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
When exporting bookmarks and importing them on another computer, "smart bookmark folders" / "saved search folders" are no longer working after the import
Reproducible: Always
Steps to Reproduce:
1: open places organizer (Ctrl+Shift+B)
2: click on tags
3: drag one of the tags to the bookmarks toolbar folder or bookmarks folder
4: result is a smart bookmark folder that when clicked shows all bookmarks with the specified tag
5: Backup bookmarks to JSON file
6: On second computer, import this JSON file
Actual Results:
On the second computer the restored smart bookmarks folder is empty
Expected Results:
On the second computer the restored smart bookmarks folder should display the same contents as on the first computer.
I've tested this with a fresh profile, on both linux, vista and xp.
Reporter | ||
Updated•17 years ago
|
Version: unspecified → 3.0 Branch
![]() |
||
Comment 1•17 years ago
|
||
i can confirm this with Firefox/3.0.1 ID:2008070208 & Minefield/3.1b1pre ID:20080901033305
my STRs:
- create bookmark(s)
- tag this bookmark(s)
- drag the created tag onto bookmarks toolbar/menu to get a "special folder" item with tag-relevant item(s) in it (only possible with Fx3 branch because of bug 453165)
- export bookmarks via library to a JSON file
- import this JSON file
actual: "special"/tag folder has no items
expected: "special"/tag folder has items
unclear if those items are not being either stored or restored correctly.
since it's not a regression i'm unsure if this should block 3.1, so asking.
Blocks: 384370
Severity: major → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking-firefox3.1?
Summary: backup / restore of bookmarks results in emtpy smart bookmark folders / saved search folders → (re)storing JSON bookmark backup does not (re)store tag folder items
Version: 3.0 Branch → Trunk
Comment 2•17 years ago
|
||
Why did you change this from major to minor? It seems to fit the BMO definition of major to me.
![]() |
||
Comment 3•17 years ago
|
||
sorry, was an accident. "normal" is okay for this issue.
Severity: minor → normal
Comment 4•17 years ago
|
||
I'm not able to create such a special folder from a source tag. So one question: Does it also happen for you with a special folder created from a search within the Library?
![]() |
||
Comment 5•17 years ago
|
||
saved search as special folder works fine with backup/restore both on branch & trunk => so only "special folders" created by tag drag & drop seems to be affected.
Comment 6•17 years ago
|
||
It would be great if you could find the time to attach a minimal testcase of a places.sqlite with a fresh profile:
1. Bookmark a page and add a tag
2. D&D this tag to the Toolbar
That would be enough for testing purposes. Thanks.
![]() |
||
Comment 7•17 years ago
|
||
attached an example places.sqlite file with one bookmark + one tag + the tag dropped to bookmark toolbar. places.sqlite was generated with Firefox/3.0.1 ID:2008070208.
Comment 8•17 years ago
|
||
I'll have a look at it tomorrow. Thanks meanwhile.
![]() |
||
Comment 9•17 years ago
|
||
Henrik, did you have a chance to test this?
Comment 10•17 years ago
|
||
Sorry for being late here. Had to work on other things first.
I've taken a look at the given test case and I can confirm that behavior. We have dataloss when restoring from a JSON backup. The contents of folders which are copies from a special query are not restored. Raising severity of this bug and adding dataloss keyword.
Marco, something you could have a look at?
Updated•17 years ago
|
Flags: blocking-firefox3.1? → blocking-firefox3.1+
Priority: -- → P1
Target Milestone: --- → Firefox 3.1
Comment 11•17 years ago
|
||
Hrm, I misunderstood the when reviewing this for blocking earlier.
This is a saved search, so there's not dataloss other than the saved search being broken after a restore. The items themselves are pointers to other items... which are not deleted.
The workaround for the moment is to recreate the saved search.
The way to fix this is to fix bug 399799, providing full tag support in the Places query infrastructure.
Marking blocking- since it's a known limitation in 3.0 that saved searches for tag containers don't persist, and because there's not really dataloss.
Severity: critical → normal
Flags: blocking-firefox3.1+ → blocking-firefox3.1-
Priority: P1 → P2
Updated•17 years ago
|
Summary: (re)storing JSON bookmark backup does not (re)store tag folder items → restoring JSON bookmark backup does not restore saved searches of tag containers
Comment 12•17 years ago
|
||
Dietrich, sorry but as you have already said, items like saved searches for tag containers are not restored. Even when we don't lose any bookmark on restore the user will lose his created saved searches. Please imagine that it could be only 10 or even hundreds of this saved searches ordered somewhere on the toolbar in different folders. All of them will be lost after a restore and have to be re-created manually. That's why I cannot see why we don't have dataloss here.
Severity: normal → critical
Comment 13•17 years ago
|
||
There is nothing preventing a user from re-creating those searches. I agree this is painful, but there is no data that is permanently lost, unable to be restored.
Bug 399799 is on my mind constantly, as so many cool features (as well as fixing this bug) would be possible with it resolved. However, neither those features nor this bug are severe enough to block the whole 3.1 release.
Updated•17 years ago
|
Severity: critical → major
Target Milestone: Firefox 3.1 → Firefox 3.2a1
Reporter | ||
Comment 14•17 years ago
|
||
Due to this bug it's basically impossible for a user who makes heavy use of smart folders to use the Firefox's native import/export function, Weave or Foxmarks to sync bookmarks between several computers.
Every time a sync happens the users smart folders stop working and have to be recreated.
When using the import/export function occasionally this isn't a huge deal, even for someone who has lots of smart folders. But it makes synchronizing between 2 Firefox installations prohibitively cumbersome.
The Weave related bug is here: Bug 479189
The Foxmarks related bug is here: http://getsatisfaction.com/foxmarks/topics/custom_smart_bookmarks_are_disappearing
![]() |
||
Comment 15•16 years ago
|
||
asking for wanted‑firefox3.6 since bug 399799 is now fixed.
Flags: wanted-firefox3.6?
![]() |
||
Comment 16•16 years ago
|
||
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
![]() |
||
Updated•16 years ago
|
Flags: wanted-firefox3.6?
Updated•11 years ago
|
Target Milestone: Firefox 3.6a1 → ---
Assignee | ||
Updated•10 years ago
|
Priority: P2 → --
Assignee | ||
Updated•10 years ago
|
Priority: -- → P3
Comment 17•7 years ago
|
||
This has been fixed by bug 1293445 in FF 61.
Assignee: nobody → mak77
status-firefox61:
--- → fixed
Whiteboard: [fixed by bug 1293445]
Target Milestone: --- → Firefox 61
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
status-firefox60:
--- → wontfix
status-firefox-esr52:
--- → wontfix
status-firefox-esr60:
--- → wontfix
You need to log in
before you can comment on or make changes to this bug.
Description
•