Closed Bug 455474 Opened 12 years ago Closed 12 years ago
we are doing that migration in nsNavBookmarks::init, since the code was added after migrateV6up we can move it to migrateV7up
Summary: move unfiled bookmarks migration code to migrateV7up → cleanup nsNavBookmarks::init
well init needs a cleanup, so morphing bug this actually act more as a reminder, waiting for fsync stuff before producing a final patch and asking review. some note: at the start we are reading mRoot as the item in bookmarks table that has parent = 0, but then we are overwriting it in createRoots, so unless there is any reason to have root before initRoots, we don't need it some function is not checked for success we should move statements in their own function, so init will be cleaner pass the known connection to init functions when possible and do migration code move (see first patch)
unbitrot for fsync stuff, previous cleanup plus define a global mDBConn instead of always asking history instance and getting the connection through DBConn().
previous one was wrong patch version
Attachment #342876 - Attachment is obsolete: true
Attachment #338839 - Attachment is obsolete: true
Comment on attachment 342918 [details] [diff] [review] better the bundle service is only used in InitDefaults, so could be moved there, so no longer in the normal startup path.
(In reply to comment #5) > (From update of attachment 342918 [details] [diff] [review]) > the bundle service is only used in InitDefaults, so could be moved there, so no > longer in the normal startup path. that is addressed in bug 342998
ops i attached the attachment number as bug number, the correct bug number is bug 459781
Comment on attachment 342918 [details] [diff] [review] better also the guid base could be moved to a smart-getter.
Attachment #342918 - Flags: review?(dietrich) → review+
GUIDBase moved to a getter
Attachment #342918 - Attachment is obsolete: true
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: Firefox 3.1 → Firefox 3.1b2
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.