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

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 16:47:29 UTC
Embargoed:


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.