- Mozilla looses form data with SourceForge File Release system



17 years ago
4 years ago


(Reporter: wolruf, Assigned: doronr)


({regression, testcase, top100})

regression, testcase, top100


(Whiteboard: aok, URL)


(3 attachments)



17 years ago
Build ID: 2001112508 on Win2k and Linux. Regression as it does work with
Netscape 6.2 (not Mozilla 0.9.6).

Steps to reproduce:
1. Load URL
2. Enter 'Test' in the 'Release Notes' box,
3. Hit 'Submit/Refresh' button,
4. Data wasn't actually accepted as 'Release Notes' is still empty,
5. SF draws errors such as:

Warning: fopen("","r") - Success in
/usr/local/ on line 50

Warning: Supplied argument is not a valid File-Handle resource in
/usr/local/ on line 50

Warning: fopen("","r") - Success in
/usr/local/ on line 61

Warning: Supplied argument is not a valid File-Handle resource in
/usr/local/ on line 61

Expected results: working flawlessly, it works with IE6, Netscape 4.76, Netscape
6.2, not Mozilla 0.9.6 and later.

You have to be an admin to access above URL, if you have a SF account, let me
know, I'll give you admin rights for this bug. Otherwise, we can also setup a
dummy project to access this File Release form.

Comment 1

17 years ago
Created attachment 59195 [details]
HTTP transaction (via sniffer) with Netscape 4.79 on Linux

Comment 2

17 years ago
Created attachment 59196 [details]
HTTP transaction (via sniffer) with Mozilla 2001112508

With Mozilla, two items are missing from the transaction:


Content-Disposition: form-data; name="uploaded_notes"; filename=""


Content-Disposition: form-data; name="uploaded_changes"; filename=""


Comment 3

17 years ago
Both missing fields are these in HTML source code:

<input type="file" name="uploaded_changes" size="30">
<input type="file" name="uploaded_notes" size="30">

So I guess a testcase would easily follow, perhaps it's even a dupe of an
already reported bug.

Keywords: regression

Comment 4

17 years ago
Created attachment 59307 [details]
Testcase with input type=file incorrectly transmitted by Mozilla

Click on the attachment, then enter something in the textarea ('test' for
example) then click Submit.
Either with a sniffer where you can see latest Mozilla build (2001112603) does
not transmit the 'input type=file', or with the results from the POST where you
can see the var is null.
With IE6 or Netscape 4.76, var is 'none' and a sniffer shows it's transmitted.

Comment 5

17 years ago
Changing Severity to blocker as it's one of the biggest Web sites, and this
behaviour has obviously changed since some weeks and might block many other Web
Severity: major → blocker
Keywords: testcase, top100

Comment 6

17 years ago
Marking dupe of bug 111963.

*** This bug has been marked as a duplicate of 111963 ***
Last Resolved: 17 years ago
Resolution: --- → DUPLICATE

Comment 7

17 years ago
Note that SourceForge ought not to rely on empty file controls being successful.
See, which says:
- "The current value of a file select is a list of one or more file names. Upon
submission of the form, the contents of each file are submitted with the rest of
the form data."
- "If a control doesn't have a current value when the form is submitted, user
agents are not required to treat it as a successful control."
Taken together, these statements allow browsers to treat a file select that
specifies no file names as unsuccessful, that is, to omit them from the
submitted data.

In other words, Mozilla's behavior is allowable, if inconvenient. I gather that
 it will be changed back, but other browsers that comply with HTML 4.01 may not.
If SourceForge is intended to be robust, it should accommodate the absence of
data for empty file inputs.

Comment 8

17 years ago
should we make this an evang then?

Comment 9

17 years ago
I'd vote for both Evangelism and revert to original behaviour because it might
have broken many more sites, especially in an Intranet environment, where "input
type=file" are used a lot.

Comment 10

17 years ago
well bug 111963 is going to fix the issue on mozilla's side and I'll reopen this
and send to tech evangelism then
Component: HTML Form Controls → English: US
Product: Browser → Tech Evangelism
Resolution: DUPLICATE → ---
Version: other → unspecified

Comment 11

17 years ago
now wfm using build 2001112903 on Win2k.
Severity back to Normal, still a Tech Evangelism bug though.
Severity: blocker → normal


17 years ago
Target Milestone: --- → Jan

Comment 12

17 years ago
SourceForge now has a ticket for this issue:
Summary: Mozilla looses form data with SourceForge File Release system → - Mozilla looses form data with SourceForge File Release system


17 years ago
Whiteboard: aok
grr, sorry for all the spam
Assignee: rods → doronr
QA Contact: madhur → zach

Comment 15

16 years ago
SF will not fix the issue, see the ticket.
Last Resolved: 17 years ago16 years ago
Resolution: --- → WONTFIX

Comment 16

16 years ago
This appears to have been fixed in bug 111963 and it not a wontfix if we changed
our behavior -> reopen.
Resolution: WONTFIX → ---

Comment 17

16 years ago
wolruf, does this problem still occur for you?

Comment 18

16 years ago
Bob, it works for me.

Comment 19

16 years ago
Please reopen if you disagree.
Last Resolved: 16 years ago16 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.