Closed
Bug 64640
Opened 24 years ago
Closed 17 years ago
movemail migration will fail if there was no mail username
Categories
(MailNews Core :: Profile Migration, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: sspitzer, Unassigned)
Details
in 4.x, you could be using movemail without a username. but default it tries to
use $(USER), so you are not required to set it.
if you then try to migrate to 6.x, you'll fail in
nsMessengerMigrator::ProceedWithMigration(), because we'll fail to get a value
for the "mail.pop_name" pref (which is used by pop and movemail)
nsMessengerMigrator::ProceedWithMigration()
{
char *prefvalue = nsnull;
nsresult rv = NS_OK;
if ((m_oldMailType == POP_4X_MAIL_TYPE)
#ifdef HAVE_MOVEMAIL
|| (m_oldMailType == MOVEMAIL_4X_MAIL_TYPE)
#endif /* HAVE_MOVEMAIL */
) {
// if they were using pop or movemail, "mail.pop_name" must have been set
// otherwise, they don't really have anything to migrate
rv = m_prefs->CopyCharPref(PREF_4X_MAIL_POP_NAME, &prefvalue);
if (NS_SUCCEEDED(rv)) {
if (!prefvalue || (PL_strlen(prefvalue) == 0)) {
rv = NS_ERROR_FAILURE;
}
}
}
I haven't figured out if we should use $(USER) or fix the code to allow it to be
blank.
Comment 1•24 years ago
|
||
isn't fixing the code better?
Reporter | ||
Comment 2•24 years ago
|
||
eray, movemail is a low, low priority for me. I have no plans to work on it.
if you want to work on it, that'd be great.
Updated•21 years ago
|
Product: MailNews → Core
Comment 3•18 years ago
|
||
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Comment 4•17 years ago
|
||
as with bug 45777...
->WONTFIX since 4.x migation has been dropped on trunk.
If one has an overwhelming need to see this fixed on branch, please attach a patch and reopen the bug. Also, evaluate whether the issue is a bug or an enhancement request and adjust severity accordingly.
filter bugmail for "4.xmidrop" to delete these messages.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•