Closed Bug 17222 Opened 25 years ago Closed 25 years ago

Migration of irregular port news server causes problems.

Categories

(MailNews Core :: Profile Migration, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: laurel, Assigned: sspitzer)

Details

(Whiteboard: Verified Win32 & Linux, can't verify MAC)

When you migrate a profile which contains an irregular port (but not secure)
news server, messenger will not display anything in the folder pane; no mail
folders, no other news servers.

1.  Open a 4.x POP or IMAP profile.
2.  Add an additional news server with irregular port, but not a secure server.
    To do this:
       a.  File|subscribe.
       b.  Click Add Server|NNTP.
       c.  Type server name:  poisonivy.mcom.com
       d.  Change the port number field to: 888
       e.  Confirm.
       f.  You can even subscribe to a group on it (this is a real server port
as of the time I'm writing this bug.)
       g.  Confirm OK from subscribe dialog.
3.  Notice the server poisonivy.mcom.com:888 shows in your 4.x folder pane.
4.  Exit 4.x communicator.
5.  Migrate the profile to 5.0/seamonkey.
6.  Open to messenger.
    Notice there is a blank folder pane. No mail accounts, no news accounts.
7.  Open the Account Setup dialog and notice the servers' names do appear.
8.  Exit and relaunch 5.0 to messenger.
    Still nothing in folder pane.
    If I go back to 4.x and remove said news server, then I can migrate fine and
see all mail and (other) news accounts.

Note:  I realize we don't yet support non-standar port news servers (I think I
saw a bug out there but can't find it yet), but we should not crap out seeing
other accounts.  We should treat it like we currently do secure news servers --
they don't display, but they don't crap out everything else either.
QA Contact: gbush → laurel
the bug number I was searching for is bug # 14354.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Target Milestone: M11
migration is handled now.

when you migrate a server like poisonivy:543, you'll get prefs like this:

user_pref("mail.server.server13.directory", "/home/seth/.mozilla/seth/News/serve
r13");
user_pref("mail.server.server13.hostname", "poisonivy");
user_pref("mail.server.server13.max_articles", 50);
user_pref("mail.server.server13.newsrc.file", "/home/seth/.newsrc-poisonivy:563"
);
user_pref("mail.server.server13.notify.size", 1000);
user_pref("mail.server.server13.port", 563);
user_pref("mail.server.server13.type", "nntp");

but currently the back end isn't calling GetPort() on the incoming server and
using that value.

I'm working on that now.

marking this bug fixed.
Previous problem with migration of irregular port news server is fixed.  Prefs
now migrate for irregular port news servers as Seth described above.

OK using 1999-11-01-08 m11 commercial build linux 6.0
OK using 1999-11-02-10 m11 commercial build NT 4.0
migration currently not working on mac
Whiteboard: Verified Win32 & Linux, can't verify MAC
Status: RESOLVED → VERIFIED
OK using 1999-11-04-08m11 commercial mac OS 8.5.1
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.