Bug 120206 - Can not retrieve an existing legacy free ApplicationType
Summary: Can not retrieve an existing legacy free ApplicationType
Status: NEW
Alias: None
Product: Red Hat Web Application Framework
Classification: Retired
Component: other (Show other bugs)
(Show other bugs)
Version: nightly
Hardware: All Linux
medium
medium
Target Milestone: ---
Assignee: ccm-bugs-list
QA Contact: Jon Orris
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-06 19:37 UTC by Brett Prucha
Modified: 2008-05-01 15:39 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Brett Prucha 2004-04-06 19:37:58 UTC
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;


Note You need to log in before you can comment on or make changes to this bug.