Bug 856819
Summary: | [as7, CLI] NullPointerException when trying to deploy war on EAP 6 in domain mode using CLI and createPackageBackedResource method | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | Larry O'Leary <loleary> |
Component: | CLI | Assignee: | Jay Shaughnessy <jshaughn> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | high | Docs Contact: | |
Priority: | urgent | ||
Version: | 4.4 | CC: | bkramer, hrupp, jshaughn |
Target Milestone: | --- | ||
Target Release: | RHQ 4.5.0 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 856186 | Environment: | |
Last Closed: | 2013-09-01 10:00:07 UTC | Type: | Bug |
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: | 856186 |
Description
Larry O'Leary
2012-09-12 20:43:25 UTC
master commmit 123a951be3bd28161cdf7ccf3d45e59124d86489 The AS7 deployment code was relying on PackageVersion.filename being set. But this is not a reliable field, it only reflects the filename of the file uploaded to provide the content. It can't be used because: - It is not set unless the file is tryly uploaded (like in the GUI via PackageVersionFileUploadServlet) - It is not set via the CLI, or potentially other mechanisms, which supply only the binary content - It is not necessarily a valid reflection of the content (i.e. not unique, etc) The packageName is really the only thing we can use here. It is guaranteed, is unique, and should reflect the content. It is what is used for similar needs in the previous plugins. Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since. |