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 197042 - Plugin verification - plugin author is missing
Summary: Plugin verification - plugin author is missing
Status: RESOLVED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Web Content (show other bugs)
Version: 7.0.1
Hardware: PC Linux
: P2 normal (vote)
Assignee: Jiri Kovalsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-24 15:14 UTC by Petr Hejl
Modified: 2011-03-30 20:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proof that your plugin has not author set. (74.09 KB, image/png)
2011-03-25 13:45 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Hejl 2011-03-24 15:14:51 UTC
On request for plugin verification I get this:

System Messages
NBM Validation Errors:
Plugin author is missing.

No explanation on what's wrong in the message or in the faq.
Comment 1 Jiri Kovalsky 2011-03-25 13:45:35 UTC
Created attachment 107283 [details]
Proof that your plugin has not author set.

This is as designed Petre. You didn't set moduleauthor attribute in the module descriptor. Please invoke "Properties" on your module, select "Build > Packaging" category and put your name to Author property.
Comment 2 Jiri Kovalsky 2011-03-25 13:46:32 UTC
Closing as invalid since Plugin Portal correctly checked that your plugin had no author set.
Comment 3 Petr Hejl 2011-03-25 14:20:05 UTC
I think this is still valid as user has no clue what's wrong. IDE does not require you to fill in plugin author in the wizard and the portal message is not helpful at all.

For missing plugin signature, there is a link to wiki. At least something like this should be done for plugin author. Or at least something like "NBM has to have Plugin Author attribute filled" not just "Plugin author missing".

User is forced to think: "Is it missing information I have to fill in on portal? Is the request itself wrong? Is the nbm broken? But nbm was accepted...". I think it would be even better to check such thing much earlier - during nbm upload and display warning that nbm is missing plugin author and later verification won't be possible.
Comment 4 Jiri Kovalsky 2011-03-25 15:19:51 UTC
Honzo, do we check for plugin author and short description in Plugin Portal 2.0 as well or just whether plugin is signed or not?
Comment 5 Jiri Kovalsky 2011-03-25 15:31:55 UTC
It is not checked. So, let's check for plugin signature, non-empty license, non-empty plugin author and non-empty short description immediately after upload of NBM file (including binary update) and ZIP file (only for plugins with AutoUpdate-Show-In-Client="true"). If something is missing, inform user about it and provide link to Wiki describing the requirements and how to fix it.
Comment 6 Jan Pirek 2011-03-25 15:46:04 UTC
Jirko, what is the wiki page url for the required attributes info?
Comment 7 Jiri Kovalsky 2011-03-25 15:58:30 UTC
http://wiki.netbeans.org/FaqPluginRequirements

To be soon created ... ;)
Comment 8 Jan Pirek 2011-03-28 12:17:10 UTC
This is now fixed for v2.


Validation added base on Jirka's comments below and Err msg also contains link to the wiki so user can learn the requirements.
Comment 9 Jiri Kovalsky 2011-03-30 19:53:34 UTC
Working on the plugin requirements Wiki page.
Comment 10 Jiri Kovalsky 2011-03-30 20:56:32 UTC
The Wiki is created.