Closed
Bug 81282
Opened 24 years ago
Closed 23 years ago
JavaScript 'move messages' command doesn't work in IMail v6.00 web messaging [form sub]
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
VERIFIED
WORKSFORME
mozilla1.0.1
People
(Reporter: nstenz, Assigned: alexsavulov)
References
()
Details
(Whiteboard: [Use acct: UserID='bugzilla@lowtech.net', pwd='bugzilla'])
Attachments
(4 files)
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows 98)
BuildID: 2001050915
My host, www.mavweb.net, is using the IMail v6.00 web messaging system. There
is an alias for mail.lowtech.net that I use to check my mail. The system uses
JavaScript for filling in form fields and listing options and folders and such.
The folders are listed in a combo box, and there's a 'move selected messages
to' link that will move the selected message(s) to the selected folder. Mozilla
used to do nothing when I tried to use it (or just crash when loading a page);
now I got an error from the server scripts saying the request was invalid. I
have no idea what Mozilla tried to pass to the server. I just tried it again,
and this time it did nothing again.
I can set up a temporary e-mail account if anyone wants to check it out. Just
let me know.
Reproducible: Sometimes
Steps to Reproduce:
1. Log into IMail.
2. Make sure you have more than one folder set up on your account.
3. Select a message.
4. Choose a different folder in the folders combo box.
5. Click the 'move selected messages to' link.
Actual Results: Page reloads; either nothing happens, or the script displays
an error message.
Expected Results: Message should have been moved to the selected folder.
No workaround found. I'm stuck using IE. =|
Comment 1•24 years ago
|
||
> I can set up a temporary e-mail account if anyone wants to check it out.
> Just let me know.
Yes, please do - this will be the only way we can test this out - thanks.
Let us know what the username and password are, and we can take a look.
Comment 2•24 years ago
|
||
Also, if you can generate some sample messages we can move around,
that will help, too - thanks.
Comment 3•24 years ago
|
||
Nick, have you been able to set up a temporary test account?
Reporter | ||
Comment 4•24 years ago
|
||
Sorry, it's been a long day- I just got to my e-mail.
I set up an account 'bugzilla@lowtech.net'. Be sure to enter in the full
address to log in (mail.lowtech.net is just an alias to mail.mavweb.net, blah
blah blah). The password is 'bugzilla'.
The mail software allows you to create subfolders inside of folders,
like 'Saved.FromWork' = '\Saved\FromWork' on the server. Just in case that has
something to do with it, I added a few subfolders in 3 groups. I'll be dumping
a bunch of messages to the account in a few minutes. If you're looking and
they're not there, just wait longer. =)
Comment 5•24 years ago
|
||
Nick: thanks, this is an enormous help!
The JavaScript that moves mail is doButton('Move To'):
function doButton(sButton)
{
if (sButton=="TopNextPage"
|| sButton=="TopLastPage"
|| sButton=="TopGoto"
|| sButton=="TopFirstPage"
|| sButton=="TopPriorPage"
|| sButton=="NextPage"
|| sButton=="LastPage"
|| sButton=="Goto"
|| sButton=="FirstPage"
|| sButton=="PriorPage")
{
var nCounter = document.forms.length;
var nForms = 0;
while (nForms < nCounter)
{
if (document.forms[nForms].name == sButton)
document.forms[nForms].submit();
nForms++
}
} else if (sButton=="Delete"
|| sButton=="Delete All"
|| sButton=="Move To"
|| sButton=="Goto Mailbox")
{
document.mboxsummary.action.value=sButton;
document.mboxsummary.submit();
return true;
}
}
Whiteboard: [Use acct: UserID='bugzilla@lowtech.net', pwd='bugzilla']
Comment 6•24 years ago
|
||
Comment 7•24 years ago
|
||
Comment 8•24 years ago
|
||
The above line,
document.mboxsummary.submit();
refers to this form element in the HTML:
<form method="POST" name="mboxsummary" action="multibtn.cgi">
I see no errors in the JavaScript Console. No JS Engine issues here.
Confirming bug and reassigning to Form Submission component -
Assignee: rogerl → rods
Status: UNCONFIRMED → NEW
Component: Javascript Engine → Form Submission
Ever confirmed: true
QA Contact: pschwartau → vladimire
Comment 9•24 years ago
|
||
Note: after you logon to this site, you have to select the "View Mail"
anchor at the top to see the messages. This calls a cgi script:
<!--- View Mail Button --->
<TD width=17% align=center valign=middle nowrap class="Normal"
onMouseOver="this.className='Mouseover'; self.status='Main Menu...';
return true"
onMouseOut="this.className='Normal'; self.status=''; return true"
onMouseDown="this.className='Click'"
onClick="document.location.href='/Xa69a989d9d999ccbc8cb7aa68d69/readmail.28313.c
gi?mbx=Main&msg=';">
<font face="Verdana, Arial, Helvetica">
<A
HREF="/Xa69a989d9d999ccbc8cb7aa68d69/readmail.28313.cgi?mbx=Main&msg="
CLASS="button">View Mail</A> </TD>
I am CRASHING when I select this with today's nightly binary 2001051710
on WinNT. I had to use a binary from 2001050617 in order to confirm this
bug. I have filed bug 81558 about the crash issue -
Comment 10•24 years ago
|
||
*** Bug 81558 has been marked as a duplicate of this bug. ***
Reporter | ||
Comment 11•24 years ago
|
||
To the people reporting crashes:
Mozilla has been crashing in IMail ever since I started using it. For the past
month or two, it's been working on-and-off somewhat. Just trying to view the
list of messages would crash one of the .DLL's (NECKO.DLL, I think). It's been
working well enough to read the messages lately, though. If you run some saved
source through an HTML validator, it will turn up errors- but I don't think
there was anything nearly messy enough to crash the browser (nor should any
HTML _ever_ crash the browser, but that's another topic). I figured the
crashing bug was taken care of, and the moving messages bug was JavaScript-
related. *shrug*
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
Comment 12•23 years ago
|
||
reassinging to new owner of form submission
Assignee: rods → alexsavulov
Status: ASSIGNED → NEW
Assignee | ||
Updated•23 years ago
|
Summary: JavaScript 'move messages' command doesn't work in IMail v6.00 web messaging → JavaScript 'move messages' command doesn't work in IMail v6.00 web messaging [form sub]
Comment 13•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
Comment 14•23 years ago
|
||
Is this still happening? The bugzilla login at that URL doesn't work anymore,
but the HTML page posted here at least submits ...
Nick, can you confirm?
Reporter | ||
Comment 15•23 years ago
|
||
Confirming...
No more crashes, but it doesn't do anything when I try to tick off a box on the
message list and then move it to another folder. If I'm actually reading a
message, I can move it from there- but not from the message lists. It's getting
quite annoying now that I use Mozilla exclusively. =) Moving messages is a royal
pain.
I'm re-opening the bugzilla@lowtech.net account right now- password 'bugzilla'
again.
Comment 16•23 years ago
|
||
Hmm. I logged in, sent a message and had it saved in the Sent folder, and then
moved it from the Sent folder to the Main folder, and that all worked. But then
when I created a "Blah" folder and tried to move a message from Main to Blah, it
didn't work. What is different between those actions?
Comment 17•23 years ago
|
||
It's a little quirky, it submits to http://www.blah.com because submitting to
file:// was causing me troubles. Still, you should be able to see the list of
parameters it spits out.
Comment 18•23 years ago
|
||
Now it POSTs to http://www.johnkeiser.com/cgi-bin/mozform.pl, which has the
happy trait of printing out all the parameters it receives.
Comment 19•23 years ago
|
||
So here are the parameters that get posted when I click the checkbox and send:
page: multibtn
uid: bugzilla
mbx: Main
mbxdate: 0
gotopage: 1
imail_action: Move To
msgsort: 1
lstFolderList: Blah
This looks right to me (it at least does the JS and the checkbox correctly) ...
is that the right set of parameters?
Reporter | ||
Comment 20•23 years ago
|
||
Are you moving the message from the 'read message' screen? That works fine. What
doesn't work is checking several messages off in a message list and then trying
to move them.
By the way, this is build 2001121703- I'm going to drop by Mozillazine and get a
newer build right now.
Reporter | ||
Comment 21•23 years ago
|
||
Everything works for me on build id 2002011604.
I think we can mark this 'fixed'. Thanks guys.
Comment 22•23 years ago
|
||
Resolving by reporter's coments
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Comment 23•23 years ago
|
||
verifying on build 2002-02-08-03-trunk windows 98
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•