Closed
Bug 22428
Opened 26 years ago
Closed 26 years ago
can't use mozilla to attach files to bugzilla
Categories
(Core :: Networking, defect, P1)
Core
Networking
Tracking
()
VERIFIED
FIXED
M14
People
(Reporter: endico, Assigned: rpotts)
References
Details
(Whiteboard: [PDT+]important functionality broken)
Attachments
(45 files)
|
4.89 KB,
text/plain
|
Details | |
|
42 bytes,
text/plain
|
Details | |
|
2.91 KB,
text/plain
|
Details | |
|
21 bytes,
text/plain
|
Details | |
|
21 bytes,
text/plain
|
Details | |
|
24 bytes,
text/plain
|
Details | |
|
24 bytes,
text/plain
|
Details | |
|
24 bytes,
text/plain
|
Details | |
|
24 bytes,
text/plain
|
Details | |
|
24 bytes,
text/plain
|
Details | |
|
24 bytes,
text/plain
|
Details | |
|
110.58 KB,
image/jpeg
|
Details | |
|
6.64 KB,
text/plain
|
Details | |
|
259.77 KB,
image/jpeg
|
Details | |
|
259.77 KB,
image/jpeg
|
Details | |
|
7.18 KB,
text/plain
|
Details | |
|
7.46 KB,
patch
|
Details | Diff | Splinter Review | |
|
259.77 KB,
image/jpeg
|
Details | |
|
259.77 KB,
image/jpeg
|
Details | |
|
259.77 KB,
image/jpeg
|
Details | |
|
127.31 KB,
text/plain
|
Details | |
|
259.77 KB,
image/jpeg
|
Details | |
|
91.77 KB,
image/gif
|
Details | |
|
4 bytes,
text/plain
|
Details | |
|
115.77 KB,
image/gif
|
Details | |
|
303.04 KB,
application/octet-stream
|
Details | |
|
79.04 KB,
application/octet-stream
|
Details | |
|
63.04 KB,
application/octet-stream
|
Details | |
|
255.04 KB,
application/octet-stream
|
Details | |
|
263.04 KB,
application/octet-stream
|
Details | |
|
303.04 KB,
application/octet-stream
|
Details | |
|
271.04 KB,
application/octet-stream
|
Details | |
|
259.77 KB,
image/jpeg
|
Details | |
|
297.04 KB,
application/octet-stream
|
Details | |
|
271.04 KB,
application/octet-stream
|
Details | |
|
303.04 KB,
application/octet-stream
|
Details | |
|
303.04 KB,
application/octet-stream
|
Details | |
|
110.58 KB,
image/jpeg
|
Details | |
|
110.58 KB,
image/jpeg
|
Details | |
|
259.77 KB,
image/jpeg
|
Details | |
|
4.23 KB,
image/gif
|
Details | |
|
259.77 KB,
image/jpeg
|
Details | |
|
259.77 KB,
image/jpeg
|
Details | |
|
259.77 KB,
image/jpeg
|
Details | |
|
259.77 KB,
image/jpeg
|
Details |
When creating a new bug attachment the file picker under
the "Browse..." button only prints the file name, not the
entire path so when you submit the attachment, bugzilla
can't find the file and the operation fails.
Updated•26 years ago
|
Assignee: trudelle → sdagley
Comment 1•26 years ago
|
||
assigning to sdagley for triage.
Updated•26 years ago
|
Status: NEW → ASSIGNED
Updated•26 years ago
|
Target Milestone: M14
Comment 2•26 years ago
|
||
Just out of curiosity, does this work on any platform? I suspect we're only
using the file name rather than the complete path returned by the file picker.
Will investigate in detail after the holidays.
Comment 3•26 years ago
|
||
this works on windows tip from 12/22, but I couldn't get it to work on linux
either, even if I type in the full correct path
Updated•26 years ago
|
OS: Linux → All
Hardware: PC → All
Comment 4•26 years ago
|
||
duped bug was mac, marking all
Comment 7•26 years ago
|
||
B13 on the Mac - problem is still open.
Comment 8•26 years ago
|
||
Comment 9•26 years ago
|
||
I'v attached a log that shows the traffic between the Mac and Bugzilla when the
submit fails. It would appear that Bugzilla isn't recognizing the mime type for
the attachment. Any ideas jud or gagan?
Comment 10•26 years ago
|
||
Comment 11•26 years ago
|
||
Comment 12•26 years ago
|
||
Comment 13•26 years ago
|
||
Comment 14•26 years ago
|
||
Putting on PDT+ radar for beta1. And adding dogfood to keyword.
Keywords: dogfood
Whiteboard: important functionality broken → [PDT+]important functionality broken
Comment 15•26 years ago
|
||
Comment 16•26 years ago
|
||
Comment 17•26 years ago
|
||
Comment 18•26 years ago
|
||
Comment 19•26 years ago
|
||
Comment 20•26 years ago
|
||
Comment 21•26 years ago
|
||
Problem was that we weren't properly calculating the size of the form submit
(left out the size of the actual data in the file). Changed
nsFormFrame::ProcessAsMultipart to use an nsILocalFile to get file size rather
than PR_GetFileInfo as the path to the file is in native format and
PR_GetFileInfo doesn't handle native Mac paths.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Comment 22•26 years ago
|
||
okay, this seems to be fixed for small plain text file, but I'm having trouble,
especially on mac and sometimes on windows, with uploading larger gif and jpg
files. Linux does not exhibit the problem. I'm attaching a file (using 4.x) that
hangs when trying to attach using mozilla on mac0s8.6 and win98 using 2/4
builds.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 23•26 years ago
|
||
Updated•26 years ago
|
Assignee: sdagley → warren
Severity: normal → critical
Status: REOPENED → NEW
Component: XP Toolkit/Widgets → Networking
Priority: P3 → P1
Comment 24•26 years ago
|
||
Ok, this is now a different problem and looks to be somewhere in Necko. The
attachment built in layout/html/forms/src/nsFormFrame.cpp looks to be the
appropriate 110K or so. Watching the data being sent to Bugzilla when trying to
submit the attachment however shows that we send about 48K and then stall out.
This would be bad. Reassigning to warren for disposition. Also bumping the
priority and severity settings since it is keyed as a beta1 dogfood bug.
Comment 26•26 years ago
|
||
yea, this is floating around in several bugs. 48k seems to be about what I was
seeing. cc'ing rpotts. we're reaching some sort of cap in the socket
transport/pipe code where we slow to a crawl then the server times us out.
Status: NEW → ASSIGNED
Comment 27•26 years ago
|
||
over to rpotts. we think we've seen this before.
Assignee: valeski → rpotts
Status: ASSIGNED → NEW
Comment 28•26 years ago
|
||
*** Bug 17967 has been marked as a duplicate of this bug. ***
Comment 29•26 years ago
|
||
*** Bug 22819 has been marked as a duplicate of this bug. ***
Comment 30•26 years ago
|
||
I think I just noticed that changing window focus (w/ other apps) caused us to
fall out of PR_Poll() and into or doWrite() function, each time I changed focus
:-/
Comment 31•26 years ago
|
||
scratch that last comment. I'm tired.
Comment 32•26 years ago
|
||
This might be related to bug 27022
| Assignee | ||
Comment 33•26 years ago
|
||
| Assignee | ||
Comment 34•26 years ago
|
||
| Assignee | ||
Comment 35•26 years ago
|
||
Warren's change to mozilla\netwerk\base\src\nsBufferedStreams.cpp (r 1.3) has
fixed this problem.
Status: NEW → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → FIXED
Comment 36•26 years ago
|
||
Rick, I tried attaching the 259k image using today's 2/14 windows build (win98)
and I'm still seeing the same behavior, it starts transferring then just spins.
Linux is still ok, no mac build available.
A small text file is still ok.
re-opening
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 37•26 years ago
|
||
*** Bug 27356 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 38•26 years ago
|
||
| Assignee | ||
Comment 39•26 years ago
|
||
I don't get it... I just tried attaching the 259K JPEG image again and it
*worked* fine.
Is this still a problem? Maybe on 2/14 there was some other Windows
instability? Since it worked on Linux :-)
I'm closing it again :-) Please open it up again if it's still a problem for
you... I guess it might be a seamonkey only problem :-(
Status: REOPENED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → WORKSFORME
Comment 40•26 years ago
|
||
Rick, yes it is still a problem for me. I tried on a different machine, win95
this time. Here's what I did:
1. Save the 259k file locally to my hard drive.
2. Launch mozilla and loads this bug
3. Click on Create a new Attachment
4 [details] [diff]. Click browse and select my file, which I have called big.gif
5. Add some comments, select image/gif as mime-type and submit
It just goes and goes and goes. What do mean when you say "I guess it must be a
seamonkey only problem". I'm using 2/17 Windows release commercial build. What
are you using?
cc:ing shrirang and sairuh who will please try this out on their NT machines.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment 41•26 years ago
|
||
Comment 42•26 years ago
|
||
| Assignee | ||
Comment 43•26 years ago
|
||
I'm using a tip debug build (2/18/00) of mozilla. I'll try it out on a
commercial build tomorrow...
Comment 44•26 years ago
|
||
seems maybe timing dependent, as I fail sometime even on the small plain text
file. I would suspect debug vs release or machine dependent as opposed to
commercial vs mozilla.
commercial build can be obtained at
ftp://sweetlou/products/client/seamonkey/windows/32bit/x86/ for netscape
internal folks
| Assignee | ||
Comment 45•26 years ago
|
||
Hmmm... Last time I closed this bug (on 2/11) I was able to create a 259K JPEG
attachment using an optimized mozilla build :-(
I guess I'll just try creating attachments *lots* of times... Beware for the
flood of bugzilla notifications :-)
| Assignee | ||
Comment 46•26 years ago
|
||
| Assignee | ||
Comment 47•26 years ago
|
||
| Assignee | ||
Comment 48•26 years ago
|
||
| Assignee | ||
Comment 49•26 years ago
|
||
Comment 50•26 years ago
|
||
| Assignee | ||
Comment 51•26 years ago
|
||
Paul, I think that this is a Win95/98 only bug... I'm not seeing it under NT,
but I am seeing it on my Win98 box...
Were you testing on Win98 only?
| Assignee | ||
Comment 52•26 years ago
|
||
OK... so I just tried it again on Win98 with the *same* build I'm running on
NT. It fails on Win98, but works on WinNT.
Oh joy... I'll start setting up a debug environment on my Win98 box :-(
Comment 53•26 years ago
|
||
yes, i tried it on win95 and win98, shrir just tried it on NT and didn't have
any problems. Strange.
Comment 54•26 years ago
|
||
Comment 55•26 years ago
|
||
Comment 56•26 years ago
|
||
macintosh also only works with small files, i spin when tring the large gif
Comment 57•26 years ago
|
||
Comment 58•26 years ago
|
||
hmmm, it actually worked a couple times, though it was still spinning...
| Assignee | ||
Comment 59•26 years ago
|
||
| Assignee | ||
Comment 60•26 years ago
|
||
| Assignee | ||
Comment 61•26 years ago
|
||
| Assignee | ||
Comment 62•26 years ago
|
||
| Assignee | ||
Comment 63•26 years ago
|
||
| Assignee | ||
Comment 64•26 years ago
|
||
| Assignee | ||
Comment 65•26 years ago
|
||
| Assignee | ||
Comment 66•26 years ago
|
||
| Assignee | ||
Comment 67•26 years ago
|
||
| Assignee | ||
Comment 68•26 years ago
|
||
| Assignee | ||
Comment 69•26 years ago
|
||
| Assignee | ||
Comment 70•26 years ago
|
||
| Assignee | ||
Comment 71•26 years ago
|
||
OK... So I now know what's going on here... It turns out that
nsSocketTransport::doWriteFromStream(...) is *totally* busted!
This method reads a chunk of data from an input stream into a buffer and then
sends it to the network... If send() is unable to write the entire buffer, or
God forbid E_WOULDBLOCK is returned, the unsent data is simply thrown away!!!
Fixing this will requre a bit of thought... But at least I know what's causing
the problem :-)
| Assignee | ||
Comment 72•26 years ago
|
||
| Assignee | ||
Comment 73•26 years ago
|
||
| Assignee | ||
Comment 74•26 years ago
|
||
| Assignee | ||
Comment 75•26 years ago
|
||
I've checked the fix in...
Status: REOPENED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → FIXED
Comment 76•26 years ago
|
||
Comment 77•26 years ago
|
||
Comment 78•26 years ago
|
||
Comment 79•26 years ago
|
||
Comment 80•26 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•