Closed
Bug 104291
Opened 23 years ago
Closed 21 years ago
blind send not working
Categories
(MailNews Core :: Simple MAPI, defect, P2)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
mozilla1.0
People
(Reporter: rdayal, Assigned: Bienvenu)
References
(Depends on 1 open bug)
Details
(Whiteboard: [PDT-])
Attachments
(1 file, 2 obsolete files)
With the current build blind send is not working. Using the test app, blind send
starts mozilla, displays the Profile manager dialog, blind send security dialog
and returns with an error without sending the mail. In case if mozilla is
already running, once on Trix's machine it just hung the app and other times it
just returned without sending the mail.
Reporter | ||
Comment 1•23 years ago
|
||
This has started occuring after we stopped bring up the mozilla window as per
the fix for bug # 102821. The fix checks the commandline args and sets the
SetShouldShowUI as FALSE which does not display the browser window. Thus during
the blind send when the security warning dialog is closed, mozilla exits (since
that would be the last window displayed for the operation). Also in case if the
security warning dialog is not displayed it exits after the Profile manager
dialog is closed (considering that to be the last window). Thus the mail is
never sent.
Please find below the proposed fix that sets the AppShell API
SetQuitOnLastWindowClosing to false as soon as blind send starts and sets it
back to true after blind send is complete. This would make sure that mozilla
exits only after the blind send is complete.
Summary: blind send not working → blind send not working
Reporter | ||
Comment 2•23 years ago
|
||
Comment 3•23 years ago
|
||
Let's get the sr/r=, and have this in our pocket if needed.
Keywords: relnote
Whiteboard: [PDT]
Reporter | ||
Comment 4•23 years ago
|
||
Comment 5•23 years ago
|
||
Comment on attachment 53190 [details] [diff] [review]
updated patch resetting flag before all returns
rajiv, wouldn't it be easier just to
1) move the isBlindSendAollowed up before we set quit on last window to false.
2) Instead of adding a bunch of if clauses reseetting the quot on last window closing every time we return, we could re-write the method to only return at the bottom.
such that instead of several of the following:
if (NS_FAILED(rv)))
{
exit code stuff
}
we could just do:
if (NS_SUCCEEDED(rv))
{
continue to do more useful stuff
}
then at the end
SetQuitOnLastWindowClosing(PR_TRUE);
return rv;
Comment 6•23 years ago
|
||
scratch that 2nd comment because that will cause a lot of white space changes
that make the patch a little bigger for PDT to look at. And they won't like
that. Although when you move it to the trunk it might be an interesting thing to
consider.
Reporter | ||
Comment 7•23 years ago
|
||
I cannot do the (1) above since the security warning dialog is displayed and
closed in the isBlindSendAllowed function and so exit 'might' get called before
this function returns. Thus it is safer to call SetQuitOnLastWindowClosing to
False before the isBlindSendAllowed call which will guarantee that mozilla will
not exit before blind send completion.
Reporter | ||
Comment 8•23 years ago
|
||
Scott, I have made the changes as per 2) in ur suggestions above but will use
that for check in to the trunk as per ur next suggestion.
Comment 9•23 years ago
|
||
doh! that's right.
Comment 10•23 years ago
|
||
pls bring this back up, if it found to be a stop ship by an enterprise customer.
Whiteboard: [PDT] → [PDT-]
Reporter | ||
Comment 11•23 years ago
|
||
Please find below the updated patch with changes to return the function from one
place. Also I have removed the usage of hidden window when calling
nsIMsgCompose::Initialize, nsIMsgCompose uses it as a parent for the Progress
dialog and other UI displayed. Since this is a blind send with no UI there is no
need for it.
Hi JF and Scott, can u please review this patch for trunk landing ?
thanks.
Target Milestone: --- → mozilla0.9.5
Reporter | ||
Comment 12•23 years ago
|
||
Reporter | ||
Comment 13•23 years ago
|
||
Please ignore this patch, am in process of putting up another patch.
Updated•23 years ago
|
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Reporter | ||
Comment 14•23 years ago
|
||
The fix for this bug depends on the fix for bug # 103785. If we put a fix there
to not restart Mozilla for each Send call and rather keep Mozilla till a MAPI
session is not logged out, it will also fix this problem. The problem faced
here was since the security warning dialog was assumed to be the last window and
when it closed Mozilla was exiting. This will now not happen if we decide to
keep Mozilla running for the complete session as part of the fix for bug #103785.
Updated•23 years ago
|
Target Milestone: mozilla0.9.6 → mozilla0.9.7
Reporter | ||
Updated•23 years ago
|
Priority: -- → P2
Updated•23 years ago
|
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Updated•23 years ago
|
Comment 15•23 years ago
|
||
Rajiv, is there work that has to be done for this if we just take what was on
the branch last time and apply to the branch for this time?
Status: NEW → ASSIGNED
Reporter | ||
Updated•23 years ago
|
Attachment #53173 -
Attachment is obsolete: true
Reporter | ||
Updated•23 years ago
|
Attachment #53190 -
Attachment is obsolete: true
Reporter | ||
Comment 16•23 years ago
|
||
We need to fix this when we fix 103785 for the branch for our next release. For
the trunk this depends on 56654. Adding dependencies and changes milestone as
per 103785.
Updated•23 years ago
|
Target Milestone: mozilla0.9.9 → mozilla1.0
Updated•23 years ago
|
Whiteboard: [PDT-] → [ADT1] [PDT-]
Reporter | ||
Updated•23 years ago
|
Whiteboard: [ADT1] [PDT-] → [ADT1] [PDT-] ETA - 4/19
Comment 17•23 years ago
|
||
This will not be in MachV.
Updated•23 years ago
|
Comment 18•23 years ago
|
||
Adding jaime and jeff to cc list.
Jeff, we discussed this in ADT today. Given the current number of bugs and thin
resources, we must defer this bug unless you can supply concrete data that it
affects a large number of users in a serious manner. We wanted to do the due
dilligence and make sure you are aware of the action we took on this bug, and
have the opportunity to respond if needed.
Reporter | ||
Updated•23 years ago
|
Whiteboard: [PDT-] ETA - 4/19 → [PDT-]
Comment 19•22 years ago
|
||
removed tiantian from cc (bad alias; sends mail to jhooker)
Comment 20•22 years ago
|
||
Just wanted to add my 2 cents...
This problem is a show stopper. I was going nuts trying to solve this with our
apps. Reading about this bug effectively ends our Mozilla rollout. It's back to
outlook till then. I really, really love Mozilla though! Too bad! That's
about 50 users! Is that enough? ;)
Comment 21•22 years ago
|
||
removed jhooker from cc: list
Updated•22 years ago
|
QA Contact: trix → yulian
QA Contact: yulian → stephend
Comment 22•21 years ago
|
||
See my comments on bug 221673, comment 5. This is related, because even when
THIS issue is fixed, the blind send wouldn't work anyway due to the "SMTP:" not
being stripped from the message addressees.
Assignee | ||
Comment 23•21 years ago
|
||
dup, fixed (except for the SMTP: issue)
Assignee: rdayal → bienvenu
Status: ASSIGNED → NEW
Assignee | ||
Comment 24•21 years ago
|
||
should be fixed in trunk builds now.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•