Closed Bug 209641 Opened 21 years ago Closed 21 years ago

no newsdownload if newserver directory is missing

Categories

(MailNews Core :: Networking: NNTP, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla, Assigned: bugzilla)

Details

Attachments

(1 file)

I just added a newsserver (news.mozilla.org) and subscribed to a group.

I accidently deleted the news.mozilla.org directory under news and now I cant
download anything from the newsserver. Hightlighting the newsserver does NOTHING!...

20030616
I can see how many newspostings there are in the newsgroup via the folderpane.
But no newspostings appear in the mesasge page.

it's 100% a problem that the newsgroup directory doesn't exist. This could
affect some other users
yes... creating an empty "news.mozilla.org" directory fixed the problem.

Mozilla should auto create that directory
I think is failing in:
http://lxr.mozilla.org/mozilla/source/mailnews/news/src/nsNntpIncomingServer.cpp#867

883     PRBool exists;
884     rv = mHostInfoFile->Exists(&exists);
885     if (NS_FAILED(rv)) return rv;

and then it seems like this i failing:

http://lxr.mozilla.org/mozilla/source/mailnews/news/src/nsNntpIncomingServer.cpp#979

980   if (!aForceToServer) {
981     rv = LoadHostInfoFile();    
982     if (NS_FAILED(rv)) return rv;
983   }

not sure since I have no debugging option...
removing the directory it says:
###!!! ASSERTION: morkBool_kFalse: '0', file c:/mozilla/mozilla/db/mork/src/mork
Config.cpp, line 57

will investigate more...
taking
Assignee: sspitzer → bugzilla
Status: NEW → ASSIGNED
Attachment #134976 - Flags: review?(bienvenu)
Comment on attachment 134976 [details] [diff] [review]
create the dir if it's not there

I'll check this in if you want.
Attachment #134976 - Flags: review?(bienvenu) → review+
checkin: please do, please do...:)
checkin: please do, please do...:)
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: