Closed
Bug 403847
Opened 17 years ago
Closed 17 years ago
places organizer search won't find items tagged with multi-word tags
Categories
(Firefox :: Bookmarks & History, defect, P3)
Firefox
Bookmarks & History
Tracking
()
VERIFIED
FIXED
Firefox 3 beta3
People
(Reporter: moco, Assigned: moco)
References
Details
places organizer search won't find items tagged with multi-word tags
the problem is we call URIHasTag() with each term
http://lxr.mozilla.org/seamonkey/source/toolkit/components/places/src/nsNavHistory.cpp#4414
but ParseSearchTermsFromQuery will break apart multi-word tags
(see http://lxr.mozilla.org/seamonkey/source/toolkit/components/places/src/nsNavHistory.cpp#5146)
one solution could be to move the URIHasTag out of that for loop, and then use the tokenized words to build up the possible consecutive tags, and use URIHasTag() for each possible tag. (see bug #395452 for how that works.)
doing that would fix this bug and fix bug #395462
Flags: blocking-firefox3?
Assignee | ||
Comment 1•17 years ago
|
||
yes, the fix is to move out the tag check from that loop, until afterwards.
using each token, then figure out all the possible consecutive tags, and call URIHasTag() for each one of those.
got this working locally, as part of bug #395462
Status: NEW → ASSIGNED
Updated•17 years ago
|
Flags: blocking-firefox3? → blocking-firefox3+
Priority: -- → P3
Target Milestone: --- → Firefox 3 M11
Assignee | ||
Comment 2•17 years ago
|
||
fixed as part of bug #405235
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: in-litmus?
Resolution: --- → FIXED
Comment 3•17 years ago
|
||
You mean bug 395452, I hope.
Assignee | ||
Comment 4•17 years ago
|
||
> You mean bug 395452, I hope.
ugh, I did. thanks reed.
Comment 5•17 years ago
|
||
verified with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b2pre) Gecko/2007112804 Minefield/3.0b2pre
Status: RESOLVED → VERIFIED
Comment 6•16 years ago
|
||
Test case https://litmus.mozilla.org/show_test.cgi?id=7505 added to litmus on 3.1 test run for regression testing.
Flags: in-litmus? → in-litmus+
Comment 7•15 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
•