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 - Unable to update Plugin in the plugin portal
Summary: Unable to update Plugin in the plugin portal
Status: RESOLVED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Web Content (show other bugs)
Version: 8.0
Hardware: PC Linux
: P1 normal with 1 vote (vote)
Assignee: Jan Pirek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-19 14:57 UTC by etrof
Modified: 2016-10-09 13:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
nbm file (254.67 KB, application/octet-stream)
2015-09-11 07:13 UTC, vaadin-addons
Details

Note You need to log in before you can comment on or make changes to this bug.
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