Closed Bug 413693 Opened 17 years ago Closed 16 years ago

browser.places.createdSmartBookmarks should contain folder id

Categories

(Firefox :: Bookmarks & History, defect, P2)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dietrich, Unassigned)

References

Details

We're going to be making some changes that affect how some of the smart queries are constructed. This means another migration of existing queries.

However, given how late in the beta cycle it is, it's not acceptable to add another folder like last time.

Instead we should store the smart bookmarks folder id in the pref, and have it's default be -1 (not created). This will allow us to delete the old and force recreation without duplicating the folder.
Blocks: 385245
When do we plan to do this and check in the work? I don't see how this will make Beta 3.
we should probably use an annotation as done in the organizer left pane.
Priority: -- → P2
Target Milestone: --- → Firefox 3 beta4
Really, we should use an anno, and that anno should contain a version number of the queries. We don't actually have correct migration paths for the queries. See for example Bug 385245 where Ondrej need to change a Smart bookmark query. He has to hack around to detect that with a pref because we don't have an easy way to detect smart queries version.

We should move to something similar to SCHEMA migration of the db, you have a queries version in a frontend CONST, you read the anno, and you can migrate forward or backward without any problem removing old folder, changing queries and so on...
fixed in bug 421483.
Status: NEW → RESOLVED
Closed: 16 years ago
Depends on: 421483
Resolution: --- → WORKSFORME
Target Milestone: Firefox 3 beta4 → ---
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.