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 96939

Summary: images with space in name not supported
Product: updatecenters Reporter: Jaromir Uhrik <juhrik>
Component: PluginportalAssignee: David Botterill <dbotterill>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jaromir Uhrik 2007-03-01 14:08:45 UTC
Pluginportal supports adding JPG images to plug-in. Image fields don't:
-support PNG format (maybe some other)
-say what image types are supported
-show error when unsupported format is added
At least PNG file dormat should be supported and the image fields should
describe what type of images are supported. If the user attaches unsupported
file then the error should be shown that the object was not supported image.
Comment 1 David Botterill 2007-03-01 19:01:16 UTC
I've only been testing with PNG files.  As far as the error messages go, to
really validate the image files I would have to programmatically validate each
image type.  I agree this would be nice but that will have to be an enhancement
for a later phase.
Comment 2 Jaromir Uhrik 2007-03-02 13:46:19 UTC
Sorry but I am not able to attach .PNG or .png file. It perfectly works with JPG
but not with PNG type.
Comment 3 Jaromir Uhrik 2007-03-02 16:17:42 UTC
The good news is that the problem is not in image format:-) I found out that the
problem is in filename. My .png files contained space in the name. This is the
problem and the pluginportal is not working properly with such files. I would be
simplefix, am I right?
Comment 4 David Botterill 2007-03-06 04:22:16 UTC
Fixed.  I convert spaces to "_"s.
Comment 5 Jaromir Uhrik 2007-03-08 14:41:24 UTC
It works fine for images containing spaces in filename. VERIFIED.