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
Version: nightly
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: ccm-bugs-list
QA Contact: Jon Orris
Depends On:
TreeView+ depends on / blocked
Reported: 2004-04-06 19:37 UTC by Brett Prucha
Modified: 2008-05-01 15:39 UTC (History)
0 users

Clone Of:
Last Closed:

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 

        if(getPackageType() == null)
        	m_legacyFree = true;

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