Bug 120206
| Summary: | Can not retrieve an existing legacy free ApplicationType | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Web Application Framework | Reporter: | Brett Prucha <pruchaba_bah> |
| Component: | other | Assignee: | ccm-bugs-list |
| Status: | CLOSED EOL | QA Contact: | Jon Orris <jorris> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | nightly | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-27 16:47:29 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: | |||
Description of problem: You can create a new, legacy free application by calling new ApplicationType(String, String) However if you try to retrieve the new ApplicationType at another time, you can never get m_legacyFree == true. This causes problems when you try and create an Application of the new ApplicationType where m_legacyFree == false and getPackageType() == null. You will encounter null pointer exceptions. I added the following lines to ApplicationType(DataObject) and ApplicationType(String) if(getPackageType() == null) m_legacyFree = true;