Description of problem:
When creating a package-based child resource of JBoss AS (either 4 or 5), i.e. a WAR or an EAR file, the user is asked to provide the package info - the version, architecture and type of the package to be deployed.
The package type contains only "Cumulative Patch", "Jar Library" options, none of which seems immediately applicable to what the user is actually trying to deploy.
Steps to Reproduce:
1. Go to inventory page of JBoss AS (4 or 5) resource
2. Select "Web Application (WAR)" from the "Create New" drop down.
3. Upload a war file, fill in the info, stay confused about what to fill in for the "Type".
Neither "Cumulative Patch" nor "Jar library" is an intuitive choice for a package type when deploying a war or ear file.
Some kind of more descriptive type(s) should be available for war and ears.
IMHO we should not be prompting for "architecture" or "type of the package to be deployed" and "version" should be optional
> IMHO we should not be prompting for "architecture" or "type of the package to
> be deployed" and "version" should be optional
This actually appears to be new -- but using very old UI.
To clarify -- app deployment for EWS in JON 231 had a more traditional app deploy UI, very similar to that used for to EAP. The page encountered in this bz hearkens back to the (IMO generally crufty and buggy) "Content" deploy UI that exists elsewhere in the code.
Do we have a design reason as to why this change was made?
 see forthcoming screenshot.
Created attachment 422578 [details]
Screenshot of the JON 231 EWS app deploy ui
This is fixed by commit 63ed10cb156bc2a369b068677db8d313906825bb and has been pushed to master. The page no longer asks for Package Type or Architecture. It does still ask for Version, which is a required field.
commit 8f86f29ad2a90dab4854f06d39cf794acabdac10 (pushed to master) fixes a couple minor issues with the previous commit that Jay noticed. This is now ready for QA.
Verified on jon build210 (Revision: 10655)
Observed that When creating a package-based child resource of JBoss AS, the page does not ask for package type or architecture and the field 'Version' is a required field.
Mass-closure of verified bugs against JON.