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)

defect

Tracking

()

VERIFIED FIXED
Firefox 3

People

(Reporter: stream, Assigned: dietrich)

References

Details

(Keywords: dataloss, regression, Whiteboard: [swag .5d])

Attachments

(1 file, 4 obsolete files)

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"
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
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?
So... this is bad... dietrich/mano, which of you wants to take this?
Priority: -- → P1
Target Milestone: --- → Firefox 3 beta4
Assignee: nobody → dietrich
OS: Windows XP → All
Hardware: PC → All
Flags: blocking-firefox3? → blocking-firefox3+
Attached patch fix v1 (obsolete) — Splinter Review
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)
Whiteboard: [needs review mano]
Comment on attachment 305806 [details] [diff] [review] fix v1 reviewed over #places
Attachment #305806 - Flags: review?(mano) → review-
Attached patch fix v2 (obsolete) — Splinter Review
per irc
Attachment #305806 - Attachment is obsolete: true
Attachment #305897 - Flags: review?(mano)
Priority: P1 → P2
Target Milestone: Firefox 3 beta4 → Firefox 3
Comment on attachment 305897 [details] [diff] [review] fix v2 I cannot read without some flags ;)
Attachment #305897 - Flags: review?(mano)
Attached patch with context (obsolete) — Splinter Review
Attachment #305897 - Attachment is obsolete: true
Attachment #306334 - Flags: review?(mano)
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+
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
Whiteboard: [needs review mano]
Attached patch as checked in (obsolete) — Splinter Review
Attachment #306334 - Attachment is obsolete: true
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 → ---
Ts went back down after backout.
Whiteboard: [swag .5d]
Blocks: 389449
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.
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
Attached patch as checked inSplinter Review
unrotted, as checked in
Attachment #307257 - Attachment is obsolete: true
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 ago17 years ago
Resolution: --- → FIXED
Depends on: 425640
there's a problem in check-in i've filled Bug 425640
is bug 425457 caused by > 409 + * - browser.places.createdSmartBookmarks
Verified with Windows build from 2008042305
Status: RESOLVED → VERIFIED
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.

Attachment

General

Created:
Updated:
Size: