Closed Bug 342116 Opened 18 years ago Closed 18 years ago

Copying and pasting a live bookmark randomly fails

Categories

(Firefox :: Bookmarks & History, defect)

2.0 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: philor, Assigned: jminta)

References

Details

(Keywords: fixed1.8.1, regression)

STR, with a branch build from after 2006-06-15 14:59:
1. Right click the default "Latest Headlines" livemark on the bookmarks toolbar, and select Copy
2. Right click the blank area of the bookmarks toolbar, and select Paste
3. Right click the newly pasted livemark, and select Properties

Some of the time, the properties will just show the correct three fields, Name, Feed Location, and Description, and the new copy will work fine. Other times, the properties will show all possible fields (Name, Location, Feed Location, Keyword, Summary, Description, and open in sidebar), and that copy will be broken and will screw up serializing the RDF datasource, so you can continue making changes to your bookmarks but they won't be written to bookmarks.html when you quit.

Quite often, the first copy I try will fail, but it's never taken me more than ten tries to get it to happen. In a build with bug 168411 backed out, I did fifty copy-paste-delete-repeat cycles without a failure.
From the console, after pasting fails:

Error: uncaught exception: [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIRDFRemoteDataSource.Flush]"  nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)"  location: "JS frame :: chrome://browser/content/bookmarks/bookmarks.js :: anonymous :: line 1829"  data: no]

And then viewing its properties:

Error: uncaught exception: [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface]"  nsresult: "0x80004002 (NS_NOINTERFACE)"  location: "JS frame :: chrome://browser/content/bookmarks/bookmarksProperties.js :: Init :: line 56"  data: no]
Flags: blocking-firefox2?
Flags: blocking-firefox2? → blocking-firefox2+
Assignee: nobody → jminta
The patch in Bug #342110 fixes this for me.
Bug 342110 has landed on trunk, and it should fix this as well.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
The patch on bug 342110 has landed on branch.
Keywords: fixed1.8.1
You need to log in before you can comment on or make changes to this bug.