APAR status
Closed as program error.
Error description
Summary: -------- Rhapsody ADA- init procedure code for template class not generat ed Description: ------------ Generating the code produces the following warning:- Warning: Link doesn't instantiate an association. Link is ignore d. in Package: Default in Class: class_3 Link: itsClass_2_itsClass_1 Checker Done Procedure init code does not generate the code for the relations with the template class. 741 - generates all code 7501 - misses two lines of init code - Defect 751 generates all code 7.4.1 - 1357741 - Yes 7.5 - 1159120 - Yes 7.5.0.1 - 1164537 - NO - Defect 7.5.1 - 1410941 - Yes Steps to Observe: ------------------ In the model: A74 and A75 are Template Instantiation classes D74 and D75 are Regular classes In my code generation I see the difference with A in the two cod es generated: CODE FROM 75: procedure Initialize (this : in out C75_t) is begin this.itsClass_1 := new A75.Local_Bounded_Buffer_t; this.itsClass_2 := new B75.B75_t; this.itsClass_4 := new D75.D75_t; B75.set_itsD75(this.itsClass_2.all,this.itsClass_4); end Initialize; CODE FROM 74: procedure Initialize (this : in out C74_t) is begin this.itsClass_1_in_74 := new Created_from_74_Pkg.A74.Local_B ounded_Buffer_t; this.itsClass_2_ in_74 := new Created_from_74_Pkg.B74.B74_t; this.itsClass_4_in_72 := new Created_from_74_Pkg.D74.D74_t; Created_from_74_Pkg.B74.set_itsD74(this.itsClass_2_in_74.all,thi s.itsClass_4_in_72); Created_from_74_Pkg. B74.set_itsA74(this.itsClass_2_in_74.all,this.itsClass_1_in_74); end Initialize; The relation that is not initialized is of A - Instantiation cla ss: Created_from_74_Pkg.B74.set_itsA74(this.itsClass_2_in_74.all,thi s.itsCla ss_1_in_74); PMR: 77884,019,866
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** Rhapsody ADA- init procedure code for template class not generated
Problem conclusion
Fixed in 7.5.2.1
Temporary fix
Comments
APAR Information
APAR number
PM01008
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
750
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2009-11-11
Closed date
2010-09-16
Last modified date
2010-09-16
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"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
16 September 2010