Bug 536409 (RHQ-761)
| Summary: | Packages > New > Upload New Package silent accepts jar files as CPs. | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Corey Welton <cwelton> |
| Component: | Web Services | Assignee: | RHQ Project Maintainer <rhq-maint> |
| Status: | CLOSED WONTFIX | QA Contact: | Mike Foley <mfoley> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 1.1pre | CC: | ccrouch, jshaughn |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://jira.rhq-project.org/browse/RHQ-761 | ||
| Whiteboard: | |||
| Fixed In Version: | 1.4 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-05-02 17:53:39 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 678340 | ||
|
Description
Corey Welton
2008-08-27 14:22:00 UTC
lowering this to minor since it would be nice to prevent this, but pragmatically speaking i think it's realistic to expect users to use the web app correctly. i suppose an argument could be made that they might have meant to choose jar, but didn't switch off of the CP choice. accepting this. I'm not sure there's a way to delete these files either, once they are uploaded, but (perhaps) depending on impl for this issue, that might not be as big a deal. The structure of a CP is a .zip archive that contains an 'install-process.xml' file, as well as the directories and contents of the patches. I wouldn't expect this part of the ui to validate the CP itself -- that would be the task of the CP processor. Upload process could simply verify that we've got a .zip, and (maybe) whether or not it contains the xml file. This bug was previously known as http://jira.rhq-project.org/browse/RHQ-761 |