A fix is available
APAR status
Closed as program error.
Error description
When using the RiA SXF, and setting the property Ada_CG::Class: BaseNumberOfInstances to a number greater than 1, the code generator creates code that will not compile because 2 parameters are supplied to the Initialiaze operaion. E.g. the following code is generated when a class called Multiplicity_State_machine has Ada_CG::Class: BaseNumberOfInstances set to 4. The code below is generated for class that has an instance of the class Multiplicity_State_machine ================================================================ procedure Initialize (this : access Builder1_t; active_acc : in SXF. I_Active.Active_wide_acc_t) is begin this.itsMultiplicity_state_Machine := (Multiplicity_State_machine. get_Multiplicity_State_machine_Instance_1, Multiplicity_State_machine.get_Multiplicity_State_machine_Instan ce_1, Multiplicity_State_machine.get_Multiplicity_State_machine_Instan ce_1, Multiplicity_State_machine.get_Multiplicity_State_machine_Instan ce_1); for i in itsMultiplicity_state_Machine_card_t loop Multiplicity_State_machine.Initialize(this. itsMultiplicity_state_Machine(i), this.itsMultiplicity_state_Machine ); end loop; ========================================= The offending code is Multiplicity_State_machine.Initialize(this.itsMultiplicity_state _Machine(i), this.itsMultiplicity_state_Machine
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * Rhapsody * **************************************************************** * PROBLEM DESCRIPTION: * * RiA INCORRECT CODE GENERATED FOR ADASXF INITIALIZE SIGNATURE * * WHEN MULTIPLICITY>1 IN RIA * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
The Ada code generator is updated to fix this issue
Temporary fix
Comments
APAR Information
APAR number
PI81817
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
815
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2017-05-18
Closed date
2017-12-04
Last modified date
2017-12-04
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
R815 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"815","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
18 October 2021