Closed Bug 389032 Opened 19 years ago Closed 19 years ago

Error in error console when changing scope in searching within Bookmarks Manager

Categories

(Firefox :: Bookmarks & History, defect)

x86
All
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 3 alpha7

People

(Reporter: abillings, Assigned: moco)

References

Details

Attachments

(1 file)

1. Open Bookmarks Manager 2. Click in the Search box and type some text (like 'xx'), which replaces the grayed text, "Search in Bookmarks". 3. Click on "Current Collection Only" in scope dropdown Result: The following error message in the Error Console: Error: uncaught exception: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsINavHistoryService.executeQueries]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: chrome://browser/content/places/tree.xml :: load :: line 107" data: no] This was found in Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a7pre) Gecko/200707200404 Minefield/3.0a7pre.
I see this too, and might be related to bug #389024 (but not sure yet) from the debugger, GetSimpleBookmarksQueryFolder() is returning -1. taking a quick look.
Assignee: nobody → sspitzer
we're calling query.setFolders() with [-1] in tree.xml's applyFilter()
in places.js, we are doing: var folderId = content.getResult().root.itemId; http://lxr.mozilla.org/mozilla/source/browser/components/places/content/places.js#364 Not sure if this a recent regression or not.
Assignee: sspitzer → nobody
again, not sure if this is a recent regression, but fix in hand.
Assignee: nobody → sspitzer
Target Milestone: --- → Firefox 3 M7
Attached patch patchSplinter Review
I was worried about this being a regresson from #388378, but that change has not landed. (But, I'll review it to make sure my patch won't regress this bug.)
Attachment #273206 - Flags: review?(mano)
Status: NEW → ASSIGNED
Flags: blocking-firefox3?
moving off to M8
Target Milestone: Firefox 3 M7 → Firefox 3 M8
Comment on attachment 273206 [details] [diff] [review] patch r=mano
Attachment #273206 - Flags: review?(mano) → review+
fixed. /cvsroot/mozilla/browser/components/places/content/places.js,v <-- places.js new revision: 1.95; previous revision: 1.94 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: Firefox 3 M8 → Firefox 3 M7
Flags: blocking-firefox3?
Verified in Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a7pre) Gecko/200707230404 Minefield/3.0a7pre. I need to add a few litmus cases around the functionality of this search box.
Status: RESOLVED → VERIFIED
Flags: in-litmus?
al, the summary of this bug doesn't make it sound like something the end user would see (which may be why mconnor cleared it as a fx 3 blocker). But, there were end user implications. Can you reword the summary?
They aren't going to see the error console. The error is fixed now though.
Test case https://litmus.mozilla.org/show_test.cgi?id=6765 has been updated on litmus to allow for future regression testing.
Flags: in-litmus? → in-litmus+
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: