GNOME Bugzilla – Bug 523414
Can not import from any HTML or RDF file, even if Ephy created the file
Last modified: 2008-05-20 06:04:40 UTC
Please describe the problem: Ephy 2.22.0 on Ubuntu Hardy cannot import bookmarks from either bookmarks.html or Bookmarks.rdf. The import fucntion always bombs out with a dialog stating that the file is probably not of the supported type. Steps to reproduce: 1. On a clean GNOME desktop, with an as-yet-unused Ephy 2.22.0, open the Bookmark manager and export the default bookmarks that are there. It doesn't matter which format you choose (HTML or RDF). 2. Once exported, try to import these files. 3. Ta-Da!! Actual results: A dialog appears informing the user that the file is likely not of the correct type; no bookmarks get imported. Expected results: I would expect the bookmarks to appear in Ephy's bookmark list. Does this happen every time? Yes Other information:
I can confirm this.
Marking NEW then.
Created attachment 111200 [details] [review] fix for importing bookmarks The FileInfo is unrefed too early, so the string "type" is pointing to does not contain that info any more, when it is compared. Moving the unref fixes this.
Committed to trunk and -22. HTML import is still broken.