Closed
Bug 419315
Opened 17 years ago
Closed 17 years ago
All bookmarks lost after using "Restore all user preferences"
Categories
(Firefox :: Bookmarks & History, defect, P2)
Firefox
Bookmarks & History
Tracking
()
VERIFIED
FIXED
Firefox 3
People
(Reporter: stream, Assigned: dietrich)
References
Details
(Keywords: dataloss, regression, Whiteboard: [swag .5d])
Attachments
(1 file, 4 obsolete files)
3.48 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b4pre) Gecko/2008022404 Minefield/3.0b4pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b4pre) Gecko/2008022404 Minefield/3.0b4pre
When the setting to restore all user preferences is used, all bookmarks and folders are erased, except the default folders/bookmarks.
Reproducible: Always
Steps to Reproduce:
1. Import/add bookmarks
2. Verify they are imported/added
3. Restart in Safe Mode and use "Reset all user preferences to Minefield defaults"
Comment 1•17 years ago
|
||
Confirmed with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b4pre) Gecko/2008022400 Minefield/3.0b4pre
Status: UNCONFIRMED → NEW
Ever confirmed: true
Version: unspecified → Trunk
Comment 2•17 years ago
|
||
Problem is that I can't always reproduce this. Little differences in installation locations seem to decide if the bug happens or not. I see the problem already in a 1 Oct 2007 build and maybe earlier. It's the oldest I tried because it hung terribly while starting up after making changes.
Flags: blocking-firefox3?
Keywords: dataloss,
regression
Assuming modules/libpref/src/prefapi.cpp -> PREF_ClearAllUserPrefs() is the correct place to look for when user preferences get reset, is the importing of bookmarks a "default" option?
I'll try and debug through the scenario and see. That could be the reason why the imported bookmarks are being scrubbed. I don't know enough about the underlying system to be sure. Just going off of first instinct.
Any thoughts?
Comment 4•17 years ago
|
||
So... this is bad...
dietrich/mano, which of you wants to take this?
Priority: -- → P1
Target Milestone: --- → Firefox 3 beta4
Assignee | ||
Updated•17 years ago
|
Assignee: nobody → dietrich
Assignee | ||
Updated•17 years ago
|
OS: Windows XP → All
Hardware: PC → All
Updated•17 years ago
|
Flags: blocking-firefox3? → blocking-firefox3+
Assignee | ||
Comment 5•17 years ago
|
||
not sure why the pref is defaulting to true, since if the db is created it gets set to true anyway.
tested scenarios:
- new profile
- migrate from branch
- migrate from older beta
Attachment #305806 -
Flags: review?(mano)
Assignee | ||
Updated•17 years ago
|
Whiteboard: [needs review mano]
Comment 6•17 years ago
|
||
Comment on attachment 305806 [details] [diff] [review]
fix v1
reviewed over #places
Attachment #305806 -
Flags: review?(mano) → review-
Assignee | ||
Comment 7•17 years ago
|
||
per irc
Attachment #305806 -
Attachment is obsolete: true
Attachment #305897 -
Flags: review?(mano)
Updated•17 years ago
|
Priority: P1 → P2
Target Milestone: Firefox 3 beta4 → Firefox 3
Comment 8•17 years ago
|
||
Comment on attachment 305897 [details] [diff] [review]
fix v2
I cannot read without some flags ;)
Attachment #305897 -
Flags: review?(mano)
Assignee | ||
Comment 9•17 years ago
|
||
Attachment #305897 -
Attachment is obsolete: true
Attachment #306334 -
Flags: review?(mano)
Comment 10•17 years ago
|
||
Comment on attachment 306334 [details] [diff] [review]
with context
nit #1: no else after return
nit #2: use either
/**
*
*/
or // comments style.
r=mano otherwise.
Attachment #306334 -
Flags: review?(mano) → review+
Assignee | ||
Comment 11•17 years ago
|
||
Checking in browser/app/profile/firefox.js;
/cvsroot/mozilla/browser/app/profile/firefox.js,v <-- firefox.js
new revision: 1.296; previous revision: 1.295
done
Checking in browser/components/nsBrowserGlue.js;
/cvsroot/mozilla/browser/components/nsBrowserGlue.js,v <-- nsBrowserGlue.js
new revision: 1.63; previous revision: 1.62
done
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•17 years ago
|
Whiteboard: [needs review mano]
Assignee | ||
Comment 12•17 years ago
|
||
Attachment #306334 -
Attachment is obsolete: true
Assignee | ||
Comment 13•17 years ago
|
||
backed out for 20ms Ts regression
Checking in browser/app/profile/firefox.js;
/cvsroot/mozilla/browser/app/profile/firefox.js,v <-- firefox.js
new revision: 1.303; previous revision: 1.302
done
Checking in browser/components/nsBrowserGlue.js;
/cvsroot/mozilla/browser/components/nsBrowserGlue.js,v <-- nsBrowserGlue.js
new revision: 1.70; previous revision: 1.69
done
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 16•17 years ago
|
||
This bug was created after i wanted to test bug 389449 if its still reproducible, because it was in unconfirmed state for a long time. So adding it in block list to be easier for me to track and check it later again if its reproducible.
Now with all bookmarks restored(erased) to defaults i cant really determine. When the current bug is fixed i will check again the other one.
Assignee | ||
Comment 17•17 years ago
|
||
relanding post-json, will watch Ts.
Checking in browser/components/nsBrowserGlue.js;
/cvsroot/mozilla/browser/components/nsBrowserGlue.js,v <-- nsBrowserGlue.js
new revision: 1.83; previous revision: 1.82
done
Checking in browser/app/profile/firefox.js;
/cvsroot/mozilla/browser/app/profile/firefox.js,v <-- firefox.js
new revision: 1.320; previous revision: 1.319
done
Assignee | ||
Comment 18•17 years ago
|
||
unrotted, as checked in
Attachment #307257 -
Attachment is obsolete: true
Assignee | ||
Comment 19•17 years ago
|
||
on qm-plinux-fast01, went from 1346 to 1350. however, that's well within the noise level, as the runs previous were anywhere from 1342 to 1359.
Status: REOPENED → RESOLVED
Closed: 17 years ago → 17 years ago
Resolution: --- → FIXED
Comment 20•17 years ago
|
||
there's a problem in check-in
i've filled Bug 425640
Reporter | ||
Comment 21•17 years ago
|
||
is bug 425457 caused by
> 409 + * - browser.places.createdSmartBookmarks
Comment 23•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
You need to log in
before you can comment on or make changes to this bug.
Description
•