Closed Bug 21927 Opened 25 years ago Closed 25 years ago

Empty favorites folder gives bookmark

Categories

(SeaMonkey :: Bookmarks & History, defect, P3)

x86
Windows 98
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bugzilla, Assigned: mozilla)

Details

If you have an empty folder in the IE favorites folder, Mozilla shows this as a
normal link in the "Imported IE favorites". When you click on on the link (in
my case the empty folder is called links) your browser goes to:
file:///C|/WINDOWS/FAVORITES/Links/

If a folder is empty it should not be converted into a link.
Assignee: slamm → rjc
Reassigning to rjc.
Status: NEW → ASSIGNED
Target Milestone: M13
Slamm, here is a diff for you to try:

Index: nsFileSystemDataSource.cpp
===================================================================
RCS file: /cvsroot/mozilla/rdf/datasource/src/nsFileSystemDataSource.cpp,v
retrieving revision 1.57
diff -r1.57 nsFileSystemDataSource.cpp
992c992
<                       PRBool          hasMore;
---
>                       PRBool          hasAny = PR_FALSE, hasMore;
995a996
>                               hasAny = PR_TRUE;
1015a1017
>                       if (hasAny == PR_FALSE) isValid = PR_TRUE;
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fix checked in.
Status: RESOLVED → VERIFIED
VERIFIED fixed with 200001408 build
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.