A fix is available
APAR status
Closed as program error.
Error description
Error Description: In a model where objects are instansiated at package level an Ada library called ?package_name?-Ria_Instances.ad* is created. In Rhapsody 8.0.1 and earlier if the class initialize operation property 'ThisAccessTypeUsage' was set to 'Regular' the initialize_relations call in the instances package correctly passed in a pointer. If the class initialize operation property 'ThisAccessTypeUsage' was set to 'None' the initialize_relations call in the instances package correctly dereferenced the pointer by adding '. all'. In Rhapsody 8.0.5 and 8.0.6 this functionality no longer works and the '.all' is added irespective of the setting of 'ThisAccessTypeUsage'. This means code generated from these versions of Rhapsody no longer compiles. Where the classes have been instantiated inside another class the correct generation of initialize calls with and without the .all suffix is still made in the composite class' initialize operation. Workaround: The workaround consists in selecting the constructor of the object, even if there is only one constructor.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** Rational Rhapsody in Ada initialisation code generation issue
Problem conclusion
If an instance is define on a package, the call of the constructor is generated with the same rule than for instances created in a class
Temporary fix
Comments
APAR Information
APAR number
PI17715
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
806
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-05-12
Closed date
2014-09-11
Last modified date
2014-09-11
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
R806 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":"8.0.6","Line of Business":{"code":"LOB02","label":"AI Applications"}}]
Document Information
Modified date:
17 October 2021