A fix is available
APAR status
Closed as program error.
Error description
Title: Defective behaviour seen while Roundtripping an attribute with a n user defined type. Problem: If we try to change an attribute type, it can be changed by roun dtrip, but it is no longer an existing type afterwards, so that #includes get lost. Steps to Reproduce: 1] Create 2 classes A and B inside the package Default. 2] Create an attribute 'att' in class A. 3] Select the type of the attribute in the existing type as 'A i n Default'. 4] Generate the code. 5] The code is generated as C att; // attribute att 6] Change the type to C * in the code and Roundtrip it. 7] The code becomes C * att; // attribute att 8] Now if we check the type of the attribute in the features Dia log box, we can see C * as the C++ declaration rather than the existing type which is correct. 9] Now, Roundtrip it back to 'C att;' in the code. 10] Now if we check the type of the attribute in the features Di alog box, we can still see C as the C++ declaration rather than the existing type which is wrong because 'C in Default' is avail able in the list of existing types. This works fine with the default C++ types available in Rhapsody and the issue is seen only with user defined types. Attachments: Please refer the attached video.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** Defective behaviour seen while Roundtripping an attribute with an user defined type.(existing type)
Problem conclusion
Fixed in Libra.1
Temporary fix
Comments
APAR Information
APAR number
PM10575
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
750
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-03-23
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
R750 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","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
24 October 2021