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 250545

Summary: Unable to update Plugin in the plugin portal
Product: www Reporter: etrof
Component: Web ContentAssignee: Jan Pirek <jpirek>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: 8.0   
Hardware: PC   
OS: Linux   
See Also: https://netbeans.org/bugzilla/show_bug.cgi?id=268427
Issue Type: DEFECT Exception Reporter:
Attachments: nbm file

Description etrof 2015-02-19 14:57:24 UTC
I tried to update a plugin (http://plugins.netbeans.org/plugin/57174/), but while i can change the What's new text, submitting the new file fails with the following message:

Warning: move_uploaded_file(): Unable to move '/tmp/phphnjVj8' to '/space/pluginportal-v2/public/data/nbms/1424357670_NBCndUnit-0.4.1.nbm' in /space/pluginportal-v2/application/modules/plugins/controllers/IndexController.php on line 611 

The error is first shown a blank white page and after reloading on top of the plugin edit page.

In addition this contains now another error messages:

    ERROR: archive seems to be missing Info/info.xml manifest file
    Error: There is moduleauthor attribute missing in the manifest file. See wiki for more info on plugin requirements.
    Error: There is OpenIDE-Module-Short-Description attribute missing in the manifest file. See wiki for more info on plugin requirements.
    Error: There is no license specified in the manifest file. See wiki for more info on plugin requirements.

All of this information are set in the NBM.
Comment 1 Jan Pirek 2015-02-19 16:26:11 UTC
This is now resolved, feel free to upload your plugin once more. Sorry for the troubles.
Comment 2 etrof 2015-02-19 17:03:07 UTC
Thanks for the fast fix - it's working again and the plugin is updated.
Comment 3 vaadin-addons 2015-09-11 07:13:18 UTC
Created attachment 156080 [details]
nbm file

nbm that fails in portal validation
Comment 4 vaadin-addons 2015-09-11 07:13:35 UTC
Trying to update the plugin http://plugins.netbeans.org/edit-binary/id/3351
with same build and info.xml as before, but we get this same error. Attached the problematic nbm file.
Comment 5 Jan Pirek 2015-09-18 07:20:19 UTC
Hello,
there was issue with processing file uploads containing white spaces in the file names.

This is now fixed and you should be able to upload this plugin. (I have just verified it works on my local dev instance)

Jan