Closed Bug 258374 Opened 21 years ago Closed 20 years ago

cannot export bookmarks (unless a file by that name already exists)

Categories

(SeaMonkey :: Bookmarks & History, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: petrosyan, Assigned: p_ch)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 if I try to export bookmarks into any file that is not named bookmarks.html then nothing happens. it only exports the bookmarks if the export file is called bookmarks.html Reproducible: Always Steps to Reproduce: 1. go to "Bookmarks / Manage Bookmarks ..." 2. go to "Tools / Export ..." 3. in the "File name:" field enter any file name except bookmarks.html 4. press "Save" button Actual Results: unless the file is called bookmarks.html nothing happens. and the bookmarks don't get exported. Expected Results: to get a new file with a new filename which will contain the bookmarks.
Component: ChatZilla → Bookmarks
Assignee: rginda → p_ch
QA Contact: samuel → seamonkey.bookmarks
WFM with Mozilla build 2004090507 on WinNT4. Do you see any errors in the JS console?
Actually it exports bookmarks only if the file by that name already exists. It asks me if I want to overwrite it, and if I say yes then it exports the bookmarks. If the file by that name does not exist it does nothing. JavaScript console get the following error message: Error: [Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsIRDFDataSource.DoCommand]" nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)" location: "JS frame :: chrome://communicator/content/bookmarks/bookmarks.js :: anonymous :: line 390" data: no] Source File: chrome://communicator/content/bookmarks/bookmarks.js Line: 390
Summary: can export bookmarks only into a file named bookmarks.html → cannot export bookmarks (unless a file by that name already exists)
Mozilla 1.7.3 Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913 I can reproduce this behaviour on my system.
(In reply to comment #2) I can reproduce this bug with 1.7.2/Linux
I just got bit by this bug too. I couldn't export any bookmarks. Doing touch file.htm then exporting again worked. Mozilla 1.7.3 Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040918
Product: Browser → Seamonkey
this bug has been fixed in firefox
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
(In reply to comment #6) > this bug has been fixed in firefox Does that mean that the mozilla suite browsers also got fixed?
No specific bug / patch referenced as the fix. -> WORKSFORME Plus, the fact that Firefox is now working isn't relevant - unless it was core code that got fixed - since it wasn't filed under that product. If anybody can still reproduce this under SeaMonkey feel free to reopen.
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → WORKSFORME
Test under one of the latest SeaMonkey nightlies...
You need to log in before you can comment on or make changes to this bug.