Technote (troubleshooting)
Problem(Abstract)
After you upgrade a model from IBM Rational Software Architect (RSA) v7.5.x to either v8.0.x or v8.5.x, uni-directional associations (also called "directed associations") become bi-directional and "X"'es appear on the associations.
Symptom
The following steps reproduce the problem:
- Open RSA v7.5.x and create a UML project and model
- Add a class diagram to the model
- Add classes to the diagram
- Connect the classes with directed associations
- Save the changes and close RSA
- Open RSA v8.0.x or v8.5.x
- Load the model and open the diagram
Expected Result: The diagram elements appear in RSA v8.0.x and v8.5.x the same way that they do in v7.5.x.
Actual Result: The relationships appear as bi-directional and appear crossed out on the diagram. If you validate these relationships, theIRJA0131W Property "memberEnd" of "<Association> [Name of Association]" has 1 value(s); requires between 2 and (unlimited)warning message will appear.
Cause
There were problems with the relationships already in RSA v7.5.x. If you add a new class diagram to the v7.5.x model and then drag all the classes onto this diagram, broken relationships will appear among these classes.
Resolving the problem
WORKAROUNDS
There are two ways to workaround this problem.
A. Follow these steps to modify the model in RSA v7.5.x before you upgrade it to v8.0.x or v8.5.x:
- Open RSA v7.5.x and load the model
- Add a new class diagram to the model
- Drag & drop all classes, enumerations, and interfaces onto the class diagram
Result: Some relationships between the classes have X'es on them.
- Right click all of the relationships with the X'es and click Delete from Model. (No data loss will result.)
- Delete the newly created class diagram from the model (Optional)
- Save all the changes and close RSA v7.5.x
- Load the model into RSA v8.0.x. or v8.5
OR
B. Follow these steps to modify the model after you have upgraded it to v8.0.x or v8.5.x:
- Open the model in RSA v8.0.x or v8.5.x
- Right click on the associations in question and click Delete from Model
- Redraw the associations
- Save the changes
| Segment | Product | Component | Platform | Version | Edition |
|---|---|---|---|---|---|
| Software Development | Rational Software Architect for WebSphere Software | Modeling | Windows | 8.0.4.1, 8.5 |
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.