Closed Bug 329488 Opened 18 years ago Closed 18 years ago

Can't paste if no bookmark selected( [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsITreeView.isContainer]" )

Categories

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

defect

Tracking

()

RESOLVED FIXED
Firefox 2 alpha2

People

(Reporter: sugar.waffle, Assigned: bugs)

Details

If copy/paste of a bookmark is performed by Places View, an error message will be displayed on JavaScript Console as follows.

Reproducible: Always

Steps to Reproduce:
1.create new profile.(don't select migration)
2.open places view
3.The bookmark of BookmarkToolbar registered by the default is copied.
4.select "Bookmark Menu" and click right pane.
5. select "Paste" on context menu.

Expected Results: 
copy/paste does not work.

JavaScript Console message:
Error: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsITreeView.isContainer]"  nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: "JS frame :: chrome://browser/content/places/tree.xml :: get_insertionPoint :: line 333"  data: no]


Mac OS X 10.3.9
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060305 Firefox/1.6a1
Assignee: nobody → bugs
Priority: -- → P1
Target Milestone: --- → Firefox 2 alpha2
The Windows version reproduces.

But the problem doesn't reproduce in the linux version. 
Original report: bugzilla-jp
http://bugzilla.mozilla.gr.jp/show_bug.cgi?id=5038#c1

Windows XP Sp1
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060305 Firefox/1.6a1
OS: MacOS X → All
Hardware: Macintosh → All
If you don't select any bookmark, you can't paste.

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20060307 Firefox/1.6a1
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: copy/paste does not work.( [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsITreeView.isContainer]" ) → Can't paste if no bookmark selected( [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsITreeView.isContainer]" )
Fixed, branch and trunk (323812)
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
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.