This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 97032 - No file was uploaded System Messages
Summary: No file was uploaded System Messages
Status: RESOLVED FIXED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Pluginportal (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: David Botterill
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-02 02:58 UTC by William Leonard
Modified: 2009-10-03 12:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Leonard 2007-03-02 02:58:32 UTC
Trying to add my plug-in hosted elsewhere, I received a "No file was uploaded"
system message when I pressed Finish. I presume the image uploads failed.
Comment 1 William Leonard 2007-03-02 02:59:23 UTC
Also, when the page fails in this way, it would be nice if it maintained my
input data.
Comment 2 William Leonard 2007-03-02 03:03:54 UTC
It turns out I accidentally selected a PDF for upload. Is there anyway to
restrict the file types shown in the file browser? If not, some validation
should be performed on file extension before submit.
Comment 3 David Botterill 2007-03-02 06:20:39 UTC
I think this is pretty much the same as 96968.  If you think it's different,
please change the status.  Basically the file upload component has no way of
keeping the chosen file in the textfield.  Also I have no way to verify the
contents of a file without doing sophisticated image reading.  If you think I
should verify the file contents, please submit an enhancement request.  

Do you think file extension verification is sufficient?

*** This issue has been marked as a duplicate of 96968 ***
Comment 4 William Leonard 2007-03-02 14:45:41 UTC
I think it's a bit different than 96968. File extension verification would be an
improvement. My problem was the the PDF in question looked like an image in my
file browser (I've attached it - sorry - it's another scary image).
Comment 5 David Botterill 2007-03-05 03:59:10 UTC
I added file extension checking.