A fix is available
APAR status
Closed as program error.
Error description
In a situation where two types with different namespaces are referenced, Rhapsody is truncating the fully qualified namespace in operation return types. This is causing compiler errors. There is a workaround to create a type model element using #define to declare the fully qualified namespace. This can be used as the operation return type to resolve the issue. However, this is not practical in large scale projects. See attached "HardModelled" project. Ideally there should be a property that forces Rhapsody to always generate fully qualified namespaces in operation return types.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * Rhapsody * **************************************************************** * PROBLEM DESCRIPTION: * * Rhapsody generates short type name when possible. In same * * rare cases it may cause compilation error. Such as if there * * are two classes with same name in different namespaces, and * * the first class member get used from class that inherite * * from the second one. * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
A new property is introduce to allow force CG full qualified type name. To force full qualified type name override with True one of the bellow properties as appropriate: CPP_CG:Operation:FullQualifiedTypeName CPP_CG:Argument:FullQualifiedTypeName CPP_CG:Attribute:FullQualifiedTypeName CPP_CG:Relation:FullQualifiedTypeName
Temporary fix
Comments
APAR Information
APAR number
PI73079
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
814
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2016-12-01
Closed date
2017-06-12
Last modified date
2017-06-12
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
R814 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.1.4","Line of Business":{"code":"LOB02","label":"AI Applications"}}]
Document Information
Modified date:
18 October 2021