Closed Bug 425842 Opened 16 years ago Closed 16 years ago

Results_As_URI reporting multiple URI's per tag for bookmarks query

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 402799

People

(Reporter: cmtalbert, Unassigned)

References

Details

Attachments

(2 files)

Attached file Test for the behavior
When querying bookmarks using RESULTS_AS_URI, you get multiple listings per number of tags on said bookmarks.

1. Create a database with the following bookmarks:
* bkmk1 - with one tag
* bkmk2 - with two tags
* bkmk3 - with three tags
Each bookmark has one visit and they are all listed in the same folder

2. Query using RESULTS_AS_URI

= Expected =
You should get "one result for each URI visited in the range" (nsINavHistoryService.idl, line 892).

http://mxr.mozilla.org/mozilla/source/toolkit/components/places/public/nsINavHistoryService.idl#892

= Actual =
You get 1 listing for bkmk1, 2 for bkmk2, and 3 for bkmk 3.

Attaching a test case.  Created on a debug build pulled on March 25 08.
Attached file header file for test
Dupe of/related to bug 402799?
Dupe.  Thanks for bringing it to my attention, Michael.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
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

Creator:
Created:
Updated:
Size: