Closed
Bug 738263
Opened 13 years ago
Closed 13 years ago
Default bookmarks import on migration is temporarily broken
Categories
(Toolkit :: Places, defect)
Toolkit
Places
Tracking
()
VERIFIED
FIXED
mozilla16
People
(Reporter: mak, Assigned: asaf)
References
Details
(Keywords: regression)
Attachments
(2 files)
1.54 KB,
patch
|
asaf
:
review+
|
Details | Diff | Splinter Review |
1.62 KB,
patch
|
Gavin
:
review+
Gavin
:
approval-mozilla-aurora+
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Due to bug 482911 we had to temporarily break default bookmarks import on initial migration, Mano will fix this here or in bug 737381.
This should be fixed before we merge FF14 to Aurora.
Reporter | ||
Updated•13 years ago
|
Comment 1•13 years ago
|
||
(In reply to Marco Bonardo [:mak] from comment #0)
> This should be fixed before we merge FF14 to Aurora.
For Mano's sake, the uplift will occur on 4/24.
Reporter | ||
Comment 2•13 years ago
|
||
This doesn't fix the bug, but as it is now we may overwrite migrated bookmarks, so better breaking it by will.
Attachment #612158 -
Flags: review?(mano)
Assignee | ||
Updated•13 years ago
|
Attachment #612158 -
Flags: review?(mano) → review+
Reporter | ||
Updated•13 years ago
|
Whiteboard: [leave open]
Reporter | ||
Comment 3•13 years ago
|
||
Updated•13 years ago
|
Whiteboard: [leave open]
Assignee | ||
Comment 5•13 years ago
|
||
Fixed by bug 748569.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 6•13 years ago
|
||
[Triage Comment]
Updating status flag to 'fixed' as per comment 5
status-firefox14:
--- → fixed
Comment 7•13 years ago
|
||
I can't find any builds to see the broken import before this fix. Could you please direct me to one ?
Reporter | ||
Comment 8•13 years ago
|
||
any nightly build from 2012-04-04 to 2012-05-29 should have it broken, we are talking about default bookmarks, not generic import. Like the Mozilla Firefox folder in Bookmarks Menu.
Comment 9•13 years ago
|
||
I see all the default bookmarks (Most Visited, Getting Started, Mozilla Firefox folder, Recently Bookmarked, Recent Tags) on new profiles on Nightly 2012-04-06, Nightly 2012-05-13, Nightly 2012-05-28. Am I missing something here ?
Reporter | ||
Comment 10•13 years ago
|
||
(In reply to Paul Silaghi [QA] from comment #9)
> I see all the default bookmarks
Is this when importing bookmarks from another browser? We broke them "on initial migration", so when a new profile is created and bookmarks are imported from a third party browser.
Comment 11•13 years ago
|
||
Thanks Marco. I can see the issue now. But the problem is I can also see it on the latest nightly 16.0a1 (2012-06-18).
Comment 12•13 years ago
|
||
Paul, can you list the STR exactly? Perhaps in a separate bug - we should certainly investigate.
Comment 13•13 years ago
|
||
I'll post the STR here, because in fact it's the same issue.
STR:
1. Remove profiles folder
2. Start Firefox
3. Select Chrome from the migration wizard
4. Press Finish
Expected results:
Firefox should start having all the default bookmarks (Most Visited, Getting Started, Mozilla Firefox folder, Recently Bookmarked, Recent Tags)
Actual results:
Default bookmarks (Most Visited, Getting Started, Mozilla Firefox folder, Recently Bookmarked, Recent Tags) are missing
Tested on Nightly 2012-06-21 on Win 7 64-bit.
Assignee | ||
Comment 14•13 years ago
|
||
Wow, yes, something is completely broken.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 15•13 years ago
|
||
Bloody hell.
The reason this worked for me with my patch is because I didn't actually remove the profiles Firefox data folder. Instead, I launched firefox with --migration *and creted a new profile*. Apparently, profile manager->create a new profile->migration (during a single start-up!) is somehow different then the "natural" use case. Investigating now.
Assignee | ||
Comment 16•13 years ago
|
||
Er, wait, I cannot reproduce this at all with my own build, only with the nightly.
Assignee | ||
Comment 17•13 years ago
|
||
And comment 15 is wrong. In the nightly build I can reproduce this with --migration just as well as in the natural scenario.
Wondering what could be different...
Assignee | ||
Comment 18•13 years ago
|
||
In my own build, the default profile has a bookmarks.html when it's created (to which "BMarks" point). This file doesn't exist in the default profile created by the nightly build.
Assignee | ||
Comment 19•13 years ago
|
||
So...
I'm not sure how this bookmarks.html sneaks his way into new profiles in my homemade build, but it seems to me that I should not rely on it. I /think/ I should use "resource:///defaults/profile/bookmarks.html" (in the nightly case, this points to a file in the omnijar, and it is indeed there).
Assignee | ||
Comment 20•13 years ago
|
||
Attachment #635763 -
Flags: review?(mak77)
Assignee | ||
Comment 21•13 years ago
|
||
Comment on attachment 635763 [details] [diff] [review]
Do so
Marco is away.
Attachment #635763 -
Flags: review?(gavin.sharp)
Assignee | ||
Comment 22•13 years ago
|
||
Pushed to try so I can test this on something close enough to the nightly builds. The builds will be available here:
http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/aromano@mozilla.com-cf487c1033f9
Assignee | ||
Comment 23•13 years ago
|
||
Indeed I cannot reproduce this bug in the try-build.
Assignee | ||
Updated•13 years ago
|
Updated•13 years ago
|
tracking-firefox15:
--- → +
tracking-firefox16:
? → ---
Comment 24•13 years ago
|
||
Comment on attachment 635763 [details] [diff] [review]
Do so
[Triage Comment]
We'll want this on beta - let's get this on Aurora now, get an extra verification there just to be extra sure before approving for beta.
Attachment #635763 -
Flags: review?(gavin.sharp)
Attachment #635763 -
Flags: review+
Attachment #635763 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 25•13 years ago
|
||
Updated•13 years ago
|
Target Milestone: --- → mozilla16
Comment 26•13 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 27•13 years ago
|
||
Paul, could you test this again with a recent aurora build?
Assignee | ||
Updated•13 years ago
|
Attachment #635763 -
Flags: review?(mak77)
Comment 28•13 years ago
|
||
(In reply to Mano from comment #27)
> Paul, could you test this again with a recent aurora build?
Verified fixed on FF 15.0a2 (2012-06-24) on Win 7, Ubuntu 12.04 and Mac OS X 10.6.
Assignee | ||
Comment 29•13 years ago
|
||
Comment on attachment 635763 [details] [diff] [review]
Do so
[Approval Request Comment]
Bug caused by (feature/regressing bug #): new migration system.
User impact if declined: default-bookmarks won't be included for users performing initial migration
Testing completed (on m-c, etc.): There are any tests for migration. Paul verified that the fix works though
Risk to taking this patch (and alternatives if risky): No risk. The patch only touches the use case involved. Worst case scenario - the bug won't be fixed completely for some users.
String or UUID changes made by this patch: none
Attachment #635763 -
Flags: approval-mozilla-beta?
Comment 30•13 years ago
|
||
Comment on attachment 635763 [details] [diff] [review]
Do so
[Triage Comment]
Low risk, and in support of the new migration feature. Approved!
Attachment #635763 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Assignee | ||
Comment 31•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Comment 32•13 years ago
|
||
Verified fixed on FF 14b10 on Win 7, Ubuntu 12.04 and Mac OS X 10.6.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•