Closed
Bug 70540
Opened 24 years ago
Closed 23 years ago
Import "Mail", Create new message and Account Wizard doesn't appear
Categories
(SeaMonkey :: MailNews: Message Display, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0
People
(Reporter: nbaca, Assigned: vparthas)
References
Details
(Whiteboard: [ADT2 RTM] [Checked into trunk] [Needs a=] [ETA 05/31], custrtm-)
Attachments
(1 file, 2 obsolete files)
(deleted),
patch
|
sspitzer
:
superreview+
jud
:
approval+
|
Details | Diff | Splinter Review |
Build 2001-02-28-09: NT4
Overview: File|Import|Mail. Create a new message and an error appears. Instead
the Account Wizard should appear.
Steps to reproduce:
1. Select File|Import|Mail. This only imports the messages and not the settings,
as expected.
2. An account should appear which is just like Local Folders (for some reason it
is not called Local Folders).
3. Create a new message and send it.
Actual Results: An error appears "An error occured while creating a message
compose window. Please try again. Type Error: item has no properties".
Expected Results: Since an account actually doesn't exist, when the user goes to
create a new message the Account Wizard should appear. This is the behavior that
occurs in a new profile if the user cancels out of the Account Wizard and tries
to create a new message.
Additional Information:
- The above occurs when Importing Mail from Outlook Express or Outlook
- Tried Eudora but it's crashing (bug# 57125)
Reporter | ||
Comment 1•24 years ago
|
||
Marking nsbeta1 because an error should not occur. Rather the Account Wizard
should appear.
Keywords: nsbeta1
QA Contact: esther → nbaca
Comment 2•24 years ago
|
||
marking nsbeta1+ and moving to mozilla0.9
Whiteboard: [nsbeta1+]
Target Milestone: --- → mozilla0.9
Updated•24 years ago
|
Priority: -- → P3
After the 3 steps, the accountCount in verifyAccounts() is greater than zero
When compose window calling verifyAccounts() and invalidAccounts.length is zero.
The openWizard is never set to true. So the Account Wizard doesn't appear.
Question for Seth:
How do we know there's no identity in the account even if the accountCount is
greater than zero? Can I check this in verifyAccounts()?
Status: NEW → ASSIGNED
The right way to fix this problem is to set the imported Mail account as an
invalid account so the account manager can come up.
no longer nsbeta1+, because new bug written to 86991 is nsbeta1+ and is an
easier fix that will alleviate the confusion.
Whiteboard: [nsbeta1+] → [nsbeta1-]
Comment 11•23 years ago
|
||
moving to 0.9.5
Comment 12•23 years ago
|
||
reassigning to racham
Assignee: chuang → racham
Status: ASSIGNED → NEW
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Comment 14•23 years ago
|
||
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1
(you can query for this string to delete spam or retrieve the list of bugs I've
moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
Updated•23 years ago
|
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: mozilla1.0.1 → mozilla1.0
Updated•23 years ago
|
Whiteboard: [ADT2]
Assignee | ||
Comment 15•23 years ago
|
||
Taking bugs from bhuvan.
Assignee: racham → varada
Status: ASSIGNED → NEW
Assignee | ||
Comment 16•23 years ago
|
||
*** Bug 131384 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 17•23 years ago
|
||
When checking for invalid accounts we now check to see if when it is a single
account it has an identity if not it is a local folder. Iff its a local folder
then invoke the account wizard during compose only.
Comment 18•23 years ago
|
||
Comment on attachment 82708 [details] [diff] [review]
Patch V1
r=bhuvan.
Please add comments above the following statement for future reference.
+ if (openWizard || prefillAccount || (zeroIdCount && wizardcallback))
We are doing openWizard if MessengerMigration returns some kind of error
(including those cases where there is nothing to migrate). Condition
prefillAccount is valid, if there is an invalid account already and so on.
Attachment #82708 -
Flags: review+
Comment 19•23 years ago
|
||
sr=sspitzer, once you add a comment (like bhuvan suggests)
Assignee | ||
Comment 20•23 years ago
|
||
Added the necessary comments and checked into trunk.
Assignee | ||
Comment 21•23 years ago
|
||
Marking Fixed in trunk.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•23 years ago
|
Whiteboard: [ADT2] [Checked into trunk] → [ADT2 rtm] [Checked into trunk]
Comment 22•23 years ago
|
||
adt1.0.0+ (on ADT's behalf) for approval to checkin to the 1.0 branch, pending
Drivers' approval. After, checking in, please add the fixed1.0 keyword.
Reporter | ||
Comment 23•23 years ago
|
||
Reopening.
Trunk build 2002-05-20-08: WinMe
The problem still occurs in the trunk build.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 24•23 years ago
|
||
Previously I had simulated the condition of ending up with a local folder by
deleting an existing single account but there is a second account being created
for the local server when we finish importing OE and launching the compose
window. I am therefore changing the if condition slightly to check for
validIdentities rather than zeroIdCount.
Attachment #82708 -
Attachment is obsolete: true
Comment 25•23 years ago
|
||
removing adt1.0.0+. When this gets checked into the trunk, nbaca can you verify
this first before we make the decision to check this into the branch?
Keywords: adt1.0.0+
Comment 26•23 years ago
|
||
Comment on attachment 84554 [details] [diff] [review]
Patch Ver 2.0
r=bhuvan
Attachment #84554 -
Flags: review+
Comment 27•23 years ago
|
||
1)
with your new patch, we're ending up with this backwards code:
if (!identity.valid) {
invalidAccounts[invalidAccounts.length] = account;
continue;
}
+ else
+ anyValidIdentity = true;
Instead, cleanup the code and do:
if (identity.valid)
anyValidIdentity = true;
else
invalidAccounts[invalidAccounts.length] = account;
2)
+ //anyValidIdentity is true when there are identities for any account
+ //and remains false if there is only a local folder.
this comment isn't 100% correct.
anyValidIdentity is true when you've got at least one *valid* identity,
Since local folders is an identity-less account, if you only have
local folders, it will be false.
3)
please describe which different scenarios you tested.
Status: REOPENED → ASSIGNED
Updated•23 years ago
|
Attachment #84554 -
Flags: needs-work+
Reporter | ||
Comment 28•23 years ago
|
||
Just let me know when and I can check it before it goes into the branch.
Assignee | ||
Comment 29•23 years ago
|
||
Changed the style.
Attachment #84554 -
Attachment is obsolete: true
Reporter | ||
Comment 30•23 years ago
|
||
Using Varada's special builds for trunk and branch it appears to be working.
Here are some scenarios I tried:
1. New profile, open Mail, exit the Account Wizard, Import Outlook Express,
select Compose button and Account Wizard appears. It successfully created an
IMAP account in one case and a POP account in another.
2. Tried the same scenario but used the File|New|Message menu to open a Compose
window.
Unfortunately I could not check Downstream Activation since it doesn't appear to
work on Varada's system. I was able to add an existing WebMail account.
Comment 31•23 years ago
|
||
Comment on attachment 84835 [details] [diff] [review]
Patch V 2.0 with style changes.
sr=sspitzer
one last suggestion,
before checking in, change
anyValidIdentity to gAnyValidIdentity
since it is a global.
Attachment #84835 -
Flags: superreview+
Assignee | ||
Comment 32•23 years ago
|
||
Marking fixed on Trunk.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago → 23 years ago
Keywords: adt1.0.0
Resolution: --- → FIXED
Updated•23 years ago
|
Whiteboard: [ADT2 rtm] [Checked into trunk] [Needs a=] → [ADT2 rtm] [Checked into trunk] [Needs a=] [ETA 05/31]
Comment 33•23 years ago
|
||
adt1.0.0+ (on ADT's behalf) for approval to checkin to the 1.0 branch, pending
Driver's approval. After, checking in, please add the fixed1.0 keyword.
Reporter | ||
Comment 34•23 years ago
|
||
Trunk build 2002-05-24: WinMe, Linux RH 7.1, Mac 10.1.3
Reopening, sorry but it's not working or the fix didn't make it into the trunk.
Here is what happens:
- New profile
- When Mail opens cancel out of Account Wizard
- Import Mail (i.e. from Eudora)
- Select the Compose button and a compose window appears, then the Account
Wizard appears as expected
- The Email Account radio button is selected by default, select the Next button
Actual Results: The Account Wizard is gone and returns focus back to the blank
compose window.
Expected Results: The Account Wizard's Identity dialog should appear asking for
Your Name and Email Address.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [ADT2 RTM] [Checked into trunk] [Needs a=] [ETA 05/31] → [ADT2 RTM] [Checked into trunk] [Needs a=] [ETA 05/31], custrtm-
Assignee | ||
Comment 35•23 years ago
|
||
Closing this bug as marked fixed. This bug is about the appearance of the
account wizard when we do not have any identities for any account viz only the
Local Folders or not even that. The bug that you are referring to is
15874(bugscape bug). This does not happen in mozilla. The reason you didnt see
this during the testing was that my build had both my fixes in them. I checked
in the fix to the other bug into both the commercial trunk and branch today. You
will see them in the next daily build.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 36•22 years ago
|
||
Verified Fixed, thanks for the clarification :)
Status: RESOLVED → VERIFIED
Keywords: mozilla1.0.1
Comment 37•22 years ago
|
||
Adding adt1.0.1+ for adt approval for branch checkin for the 1.0.1 milestone.
Please get drivers approval before checking in.
Comment 38•22 years ago
|
||
please checkin to the 1.0.1 branch ASAP, and replace the mozilla1.0.1+ keyword
with fixed1.0.1 once it's landed there.
Keywords: mozilla1.0.1+
Updated•22 years ago
|
Attachment #84835 -
Flags: approval+
Updated•22 years ago
|
Keywords: mozilla1.0.1
Assignee | ||
Comment 39•22 years ago
|
||
Checked into the MOZILLA_1_0_0_BRANCH.
Keywords: mozilla1.0.1+ → fixed1.0.1
Reporter | ||
Comment 40•22 years ago
|
||
Branch build 2002-06-11: WinMe
Verified1.0.1.
Keywords: fixed1.0.1 → verified1.0.1
Assignee | ||
Comment 41•22 years ago
|
||
*** Bug 66638 has been marked as a duplicate of this bug. ***
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•