Form getting submitted twice in Mozilla

RESOLVED INCOMPLETE

Status

()

RESOLVED INCOMPLETE
12 years ago
6 years ago

People

(Reporter: exploresunny, Unassigned)

Tracking

1.8 Branch
x86
Windows Server 2003
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322; InfoPath.1)
Build Identifier: Mozilla/1.5.0.4

I am not able to solve the problem relating to action being called twice when i am using the Struts Framework with Mozilla.

What is happening is that i have a button on my screen and when i click on this button i am calling an action. This action is getting called twice and for the first time all my screen data is passed to the action but in the second time my action is called and the form does not have anything in it. So at the back end my server reports a "Null pointer Exception". 

The application is working fine with IE.

Please help me urgently as i need to find a reason for this. 

Reproducible: Always

Steps to Reproduce:
1.Open up a form submit page,Normal form tag is used.
2.Click submit
3.Form submits twice.

Actual Results:  
The steps if preformed as above produces the error... It seems as of the form is getting submitted twice.

Expected Results:  
The action should have been called only once.
(Reporter)

Updated

12 years ago
Version: unspecified → 1.5.0.x Branch
In general, I'd say that debugging your HTML for you without being allowed to see it would be a rather difficult task, but having seen this so many times, I'll just wildly guess that you have either an <img src=""> or some CSS with background-image:url(""), which in either case is *not* and empty image, or no source, but is instead a relative URL that resolves to the URL of the page, so we request the URL again, the second time using HTTP headers that ask for image mime-types, to enable content-negotiation. If you don't want that, then avoid "empty" images.
Severity: critical → normal
Component: Form Manager → General
Product: Firefox → Core
QA Contact: form.manager → general
Version: 1.5.0.x Branch → 1.8 Branch
Summary: FORM GETTING SUBMITTED TWICE IN MOZILLA. → Form getting submitted twice in Mozilla

Comment 2

6 years ago
Please close the bug WORKSFORME if you no longer see the problem when using a current version.  

Or, if you do see the problem, please comment with details.
Whiteboard: [closeme 2012-07-15]

Comment 3

6 years ago
Resolved per whiteboard
Status: UNCONFIRMED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → INCOMPLETE
Whiteboard: [closeme 2012-07-15]
You need to log in before you can comment on or make changes to this bug.