Red Hat Bugzilla – Bug 536320
Don't ask for package name when creating a new package-backed resource; use file name from file upload field
Last modified: 2008-08-08 15:26:00 EDT
Originally, I thought it would be more flexible to be able to indicate a separate package name from the local file name. In reality, this just confuses people. It's a pretty easy change to just grab the file name from the file upload box and use that as the package name itself.
r1101 - create-package-1.xhtml, CreateNewPackageChildResourceUIBean.java
- Grab the package name from the file upload item instead of prompting the user for it.
- When creating an EAR or WAR, the "package name" field should no longer be requested.
- Verify the EAR/WAR deployed to the server is of the same name as the file that was originally uploaded.
This is probably easiest to do with RHQ-666 and RHQ-669.
QA Verified - user is no longer prompted for name.
As an aside, yes, this used to be confusing -- I always ended up using the same basename or basename.ext, myself.
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-683