Closed Bug 200359 Opened 22 years ago Closed 22 years ago

Importing and exporting bookmarks are broken

Categories

(SeaMonkey :: Bookmarks & History, defect)

x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: ligda, Assigned: p_ch)

References

Details

(Keywords: regression)

Attachments

(1 file, 2 obsolete files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030402 Phoenix/0.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030402 Exported bookmarks from 3/31/03 daily build and imported them in the 4/2/03 build in the Bookmark Manager. The action completes without any error messages but the bookmarks never appear in the list. This worked fine in the 3/31/03 build. Reproducible: Always Steps to Reproduce: 1. Create bookmarks in the 3/31/03 build. 2. Export bookmarks from the Bookmark Manager. 3. Install the 4/2/03 build. 4. Import the bookmarks that were exported in step 2 from the Bookmark Manager. Actual Results: The bookmarks don't show up and there are no error messages. Expected Results: The bookmarks should show up in the Bookmark Manager. This was using the default theme, originally found using Phoenix but verified in Mozilla.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030402 Phoenix/0.5 Also receiving this error on the nightly build. Build from 4/1/02 works fine as I just installed it on another machine last night. Export does not seem to work either and no error message is given.
Same thing with a bookmarks file created the 03.29.2003. Impossible to import that file with a 04.03.2003 Mozilla build. (system running on WinXP) I've noticed also that nothing happens when trying to create a new bookmarks file. No error messages, in the both situations.
*** Bug 200781 has been marked as a duplicate of this bug. ***
Confirming due to number of comments from different sources.
Keywords: regression
Really confirming...
Status: UNCONFIRMED → NEW
Ever confirmed: true
I am having the exact same problem. I was just about to make the switch to Mozilla full time and I cannot import my IE bookmarks. I am using Windows XP and Mozilla 1.4a that was downloaded on the 2nd of April.
Importing IE bookmarks is a separate issue.
*** Bug 200835 has been marked as a duplicate of this bug. ***
*** Bug 201722 has been marked as a duplicate of this bug. ***
Sorry for duplicate bug #201722 When it comes to importing IE favorites, there are other solutions too: http://bookmarkbridge.sourceforge.net/ When is its integration scheduled?
*** Bug 201926 has been marked as a duplicate of this bug. ***
taking
Assignee: ben → chanial
updating summary, patch will follow
Summary: Importing bookmarks from yesterday's version shows no new bookmarks → Importing and exporting bookmarks are broken
Attached patch patch v1.0 (obsolete) — Splinter Review
this bug has regressed after the nsIfile conversion. The problem is that we sent 'file:///home/blabla' filepaths to NS_NewLocaleFile Strangely enough, it seems like nsFileSpec do trim 'file://' and NS_NewLocaleFile doesn't. Maybe it should? In the patch, I trim the file path in the callers (bookmarks.js) I also consolidated and cleaned the export and import methods in the bookmarks service.
Attachment #121375 - Flags: superreview?(alecf)
Attachment #121375 - Flags: review?(bsmedberg)
Ah, I forgot to mention that the diff are against the phoenix tree. there's no difference with mozilla's one in that area.
Attached patch patch v2.0 (obsolete) — Splinter Review
aheum. forget my last comment. the file picker output just needed to be converted also to nsIFile. like the previous patch, everything in nsBookmarksService is cleanup.
Attachment #121375 - Attachment is obsolete: true
Attachment #121375 - Flags: superreview?(alecf)
Attachment #121375 - Flags: review?(bsmedberg)
Attached patch patch v2.0Splinter Review
I attached a random file. here is the proper one.
Attachment #121379 - Attachment is obsolete: true
Attachment #121380 - Flags: superreview?(alecf)
Attachment #121380 - Flags: review?(bsmedberg)
Blocks: 202879
Comment on attachment 121380 [details] [diff] [review] patch v2.0 looks good, r=bsmedberg
Attachment #121380 - Flags: review?(bsmedberg) → review+
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.4b) Gecko/20030419 Import Netscape 4.8 bookmark failed without any message.
Comment on attachment 121380 [details] [diff] [review] patch v2.0 sr=alecf
Attachment #121380 - Flags: superreview?(alecf) → superreview+
Comment on attachment 121380 [details] [diff] [review] patch v2.0 request approval for 1.4b. risk is very low, the two liner patch only affect the broken import and export commands and the rest is clean up. (patch already committed in phoenix)
Attachment #121380 - Flags: approval1.4b?
Keywords: nsbeta1
Comment on attachment 121380 [details] [diff] [review] patch v2.0 a=asa (on behalf of drivers) for checkin to 1.4b
Attachment #121380 - Flags: approval1.4b? → approval1.4b+
marking fixed
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Verified in the 2003-04-28-03 Macho and 2003-04-28-04 Win32 build.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: