APAR status
Closed as program error.
Error description
A model-2-model transformation generates faulty code when using custom submaps with custom feature extractors. If a element type â UML Stereotypeâ or â UML Profile Classâ is selected, the generated code uses in both cases CustomDirectFeatureAdapter, which is only valid for â Regular Classâ (default option). The transformation should work as follows: - For â Regular Classâ the generated code should use CustomDirectFeatureAdapter. - For â UML Stereotypeâ the generated code should use CustomStereotypeFeatureAdapter. - For â UML Profile Classâ the generated code should use CustomProfileClassFeatureAdapter. Steps to reproduce: - create a model-to-model transformation - create a map that uses a custom submap - select "custom feature" -> "specify custom feature" -> "UML Class" - generate transformation code - the generated code has compile errors
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * * - * **************************************************************** * PROBLEM DESCRIPTION: * * FAULTY CODE GENERATION DURING MODEL-2-MODEL TRANSFORMATION * * WHEN USING CUSTOM SUBMAPS WITH CUSTOM FEATURE * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
RSA will now generate the required source code when selecting/defining the 'UML Profile Class' for 'Custom Feature' in a model submap.
Temporary fix
Comments
APAR Information
APAR number
PH53132
Reported component name
RATL SW ARCHITE
Reported component ID
5725A3000
Reported release
960
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2023-03-09
Closed date
2024-05-02
Last modified date
2024-05-02
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
RATL SW ARCHITE
Fixed component ID
5725A3000
Applicable component levels
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSYK2S","label":"Rational Software Architect Designer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"960","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]
Document Information
Modified date:
02 May 2024