Fixes are available
APAR status
Closed as program error.
Error description
Headline: Drawing usage type dependency from Event, Results in a missing Import statement APAR Error Description: Attempts to draw usage type dependency from Event in RiJ, result in Import statement line not getting generated in Event code. Problem: When drawing dependency from an event with the usage stereotype, it is expected to generate an import line in the code for the event class. However It does not. Steps to Reproduce : Open RiJ. 1) Create new project. 2) Add JDK reference model in project (file -?Add to model). 3) Add one class in the project. 4) Add statechart in class. 5) Create 2 states in statechart and one event between them. 6) Add one argument of List ?String? type in event. 7) In Object model diagram, pull List interface (JDK reference model) and event class from browser; create dependency between them with usage stereotype. Generate the code. Notice that in generated Event.java file, import statement is not present. Additional Information: This behaviour is not consistent with other Rhapsody conventions. When we draw usage dependency with usage stereotype between two classes then import statement gets generate, however Rhapsody allows drawing usage type dependency from event class but does not generate import statements. Attachments: 67053,019,866.zip contains the sample model and video recording Local fix: To obtain correct behaviour, use the qualified name of the class, so that no 'import' is required. In this case we can use java.util.List
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** In RiJ, if you draw a "usage" dependency from an event, the code generated for the event is missing an import statement.
Problem conclusion
Fixed in version 8.0.3
Temporary fix
Comments
APAR Information
APAR number
PM80401
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
761
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-01-11
Closed date
2013-06-20
Last modified date
2013-06-20
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
R761 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.6.1","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
29 October 2021