Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 120206 - Can not retrieve an existing legacy free ApplicationType
Can not retrieve an existing legacy free ApplicationType
Status: NEW
Product: Red Hat Web Application Framework
Classification: Retired
Component: other (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: ccm-bugs-list
Jon Orris
Depends On:
  Show dependency treegraph
Reported: 2004-04-06 15:37 EDT by Brett Prucha
Modified: 2008-05-01 11:39 EDT (History)
0 users

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

Attachments (Terms of Use)

  None (edit)
Description Brett Prucha 2004-04-06 15:37:58 EDT
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.