A fix is available
APAR status
Closed as program error.
Error description
Summary: ******** The API call 'getAttributesIncludingBases()' does not get all the attributes of all bases. Description: ********** When trying to get the all attributes of a Block/Class using the API function getAttributeIncludingBases(), the API call does not return all the attribute correctly in case of an inheritance chain. However, the 'Display Options...' menu allows us to correctly display all the attributes when the 'Show Inherited' box is checked. Steps to reproduce: **************** 1. Create three classes/blocks; A, B and C with respective attributes a1, b1, c1. 2. Setup an inheritance chain; A inherites from B which inherites from C (A -?B -? C). 3. Try to get all attributes using the API function getAttributeIncludingBases(). 4. If the function is called from Block A it will only return a1 and b1 but not c1. It is expected that the function getAttributeIncludingBases() returns all inherited attributes as shown by the 'Show Inherited' option in the 'Display Options'. Currently we can achive the requirement manually (i.e. traversing the inheritance chain by other API means) to get all attributes; but this renders the API function useless.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** Fixed by returning the attributes of all base classes.
Problem conclusion
Fixed in Libra.1
Temporary fix
Comments
APAR Information
APAR number
PM39054
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
753
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-05-12
Closed date
2011-12-17
Last modified date
2011-12-17
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
TLOGIC RHAPSODY
Fixed component ID
5724V74RP
Applicable component levels
R753 PSN
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.3","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
27 October 2021