Readme for Rational Rhapsody 8.2 iFix002

Improvements for Rhapsody Design Manager users

This iFix is required to complement Rhapsody DM 6.0.3 iFix002 (available on jazz.net).

Rhapsody APARs Fixed with 8.2 iFix002

Category APAR ID Summary
AUTOSAR PI75465 EvaluationException : java.lang.ArrayStoreException when exporting to ARXML
Browser PI73965 ARXML file moved during ARXML Import
Code Generation PI68180 Guarded stereotyped operation doesn't generate description for IBM Rational Rhapsody
Code Generation PI73079 Namespace CG conflict causes truncated path in operation return type
DiffMerge PI75102 Diffmerge crashes while trying to save merge
Features Dialog PI70000 Tagged value getting changed. 
Features Dialog PI76058 Features dialog: Can't add hyperlink to model element
Graphic Editors PI75301 Multiple Flow Arrows added  after Layout-->Complete Relation->All
Java API (COM) PI74756 XMI: Events - empty value of XMIId tag after Import
MXF PI74036 QAC VIOLATIONS WITH RHAPSODY FRAME WORK & ADOPTION CODE.
Modeling - General PI70062 Directory path in unit settings is lost when unit is reloaded with subunits option
Report on Model PI72716 RHAPSODY CRASHED WHEN EXECUTING 'EXPORT DIAGRAM IMAGE' ON A STATECHART
Repository PI64896 Increasing memory while loading/unloading package
Search PI74437 QUERIES NOT WORKING TO SEARCH FOR TAG IN 8.2
Search PI74991 SEARCH ENGINE PERFORMANCE ISSUES
Statechart PI73745 Rhapsody hangs while opening a sub state-chart after upgrade
Table Matrix PI75443 modifying table layout removes Java code

Improvements included in iFix002 for Rhapsody users

Code generation - location of descriptions for guarded operations

Prior to release 8.2., when C code was generated, the descriptions for guarded operations were generated in the implementation file rather than in the specification file. This issue was corrected in 8.2, however, the parts of the description that are taken from arguments and requirements were not included in the fix for the problem. In ifix002 for 8.2, this remaining issue has been corrected. To preserve the previous code generation behavior for models created prior to the 8.2 release, the property C_CG::Operation::UsePre821GuardedOperationDescriptionLocation was added to the backward compatibility settings for C with a value of True.

Note that if you plan to use this iFix with models that were created with Rational Rhapsody 8.2 or 8.2 iFix001, the updated backward compatibility settings will not be loaded automatically. If you want to retain the previous code generation behavior for such cases, you will have to add the property UsePre821GuardedOperationDescriptionLocation with a value of True in your site.prp file.

Rhapsody API - methods that cannot accept NULL as parameter

Prior to this release, when a NULL value was passed to an API method that expects a non-NULL parameter, the message "Element Deleted" was displayed. Beginning with this release, the error message that is displayed in such cases is "Invalid parameter".


iFix002 for Rhapsody 8.2 includes the following fixes, which were included in iFix001.

Rhapsody APARs Fixed with 8.2 iFix001

Category APAR ID Summary
Browser PI73448 Crash if click on unloaded package.
Browser PI73452 load/unload package fails when relations window is op
Code Generation PI73079 Namespace CG conflict causes truncated path in operation return type
Features Dialog PI70187 WRONG MESSAGE AT DELETE FROM MODEL DELETES EXTERNAL UNIT
Graphic Editors PI69315 TIMING DIAGRAMS ARE GETTING CORRUPTED.
Modeling - General PI64987 PI64987: 16 ERROR POPUPS WHEN CLICKING ON HYPERLINK
Object Model Diagram PI71730 block->part: complete relations does not work

Improvements included in iFix001 for Rhapsody users

New command-line option added

-cmd=close_all_diagrams

This new command closes all diagrams that are currently open.

Shortcut list for graphic elements - improvements

All elements that can contain compartments now have a property called QuickNavigationCategory, which is used to compose the shortcut list. The property can include any of the following categories:

In addition, the shortcut list is now available on boxes in Structure mode as well (not just Specification mode).

The shortcut list can be enabled/disabled by modifying the value of the property General::Graphics::EnableQuickNavigation. After changing the value of the property, you have to refresh the diagram (F5) or reopen the model for the change to take effect.

Code generation - new property - FullQualifiedTypeName

The following properties were added to the C++ factory. If the value is changed to True, it forces generation of full qualified name. Note that to activate the fix for PI73079 (Namespace CG conflict causes truncated path in operation return type), you must add these properties to the site.prp file with a value of True.

Subject CPP_CG
	Metaclass Operation
	    Property FullQualifiedTypeName Bool "False"
	end 
	Metaclass Argument
	    Property FullQualifiedTypeName Bool "False"
	end
	Metaclass Attribute
	    Property FullQualifiedTypeName Bool "False"
	end
	Metaclass Relation
	    Property FullQualifiedTypeName Bool "False"
	end
end

Rhapsody API - errorMessage() and getErrorMessage() - change in behavior

Previously, the errorMessage() and getErrorMessage() methods would return the most recent error. So if a method call resulted in an exception, and you called additional methods afterwards, you could still get the original error, provided that the additional calls were all successful.

Now, the most recent error is cleared when a method is called successfully. So in order to get the error message, getErrorMessage() must be called immediately after the method that failed. This applies to:

Support for ReporterPlus in 64-bit version of Rational Rhapsody

In addition to the iFix files, a separate executable file has been provided for adding support for ReporterPlus to the 64-bit version of Rational Rhapsody. To add support for ReporterPlus:

  1. Install the iFix according to the instructions in this document.
  2. Extract the files contained in RhapsodyReporter82iFix2_X64.zip
  3. Run the executable file that was extracted.

Conditional property syntax - additional options added

When using the conditional property syntax, you can now include the following options.

Constraints, comments, and requirements - changes in appearance

For constraints, comments, and requirements in diagrams, minor changes have been made to the icon that is displayed in the corner of the element - in terms of the location and background color of the icon.


Applying the iFix

A number of steps in this section refer to the Share directory as being a subdirectory of the main Rhapsody installation directory. Note that if you performed a "split" installation of Rhapsody - meaning that you did not use the "Install all Rhapsody files in one location" option - then the Share directory will be located in the user home directory, for example, C:\Users\<username>\IBM\Rational\Rhapsody.

On Windows - using MSI installation to install iFix for 32-bit version of Rhapsody

  1. Verify that you have installed IBM Rational Rhapsody 8.2 (BuildNumber-9794446).
  2. Make sure that Rhapsody is not currently running.
  3. Download the .zip file for the iFix: Rhapsody82iFix002_x86.zip
  4. After extracting the contents of the .zip file, run the executable file Rhapsody82iFix_x86.exe
  5. Click Update in the InstallShield Wizard.
  6. Click Finish when the installation is done.
  7. In the folder <Rhapsody installation directory>, locate the file RhapsodyRoot.zip.
  8. Use "extract here" to extract the contents of RhapsodyRoot.zip
  9. Back up the folder <Rhapsody installation directory>\Share\LangC\mxf by moving its content to a different folder.
  10. Open the folder <Rhapsody installation directory> and locate the file RhapsodyShare.zip. (If you performed a "split" installation, the RhapsodyShare.zip file will be located in the folder that contains the Share folder.)
  11. Use "extract here" to extract the contents of RhapsodyShare.zip

On Windows - using MSI installation to install iFix for 64-bit version of Rhapsody

  1. Verify that you have installed IBM Rational Rhapsody 8.2 (BuildNumber-9794446).
  2. Make sure that Rhapsody is not currently running.
  3. Download the .zip file for the iFix: Rhapsody82iFix002a_x64.zip
  4. After extracting the contents of the .zip file, run the executable file Rhapsody82iFix_x64.exe
  5. Click Update in the InstallShield Wizard.
  6. Click Finish when the installation is done.
  7. In the folder <Rhapsody installation directory>, locate the file RhapsodyRoot.zip.
  8. Use "extract here" to extract the contents of RhapsodyRoot.zip.
  9. Back up the folder <Rhapsody installation directory>\Share\LangC\mxf by moving its content to a different folder.
  10. Open the folder <Rhapsody installation directory> and locate the file RhapsodyShare.zip. (If you performed a "split" installation, the RhapsodyShare.zip file will be located in the folder that contains the Share folder.)
  11. Use "extract here" to extract the contents of RhapsodyShare.zip

On Windows - using archived files to install iFix for 32-bit version of Rhapsody

  1. Verify that you have installed IBM Rational Rhapsody 8.2 (BuildNumber-9794446)
  2. Make sure that Rhapsody is not currently running.
  3. Download the .zip file for the iFix: Rhapsody82iFix002_Win32_archived.zip
  4. After extracting the contents of the .zip file, carry out the following steps:
    1. Copy RhapsodyRoot.zip into the <Rhapsody installation directory> folder.
    2. Back up the folder <Rhapsody installation directory> by copying all .exe and .dll files to a different folder.
    3. Back up the folder <Rhapsody installation directory>\RTCIntegration by moving its content to a different folder.
    4. Back up the folder <Rhapsody installation directory>\Eclipse by moving its content to a different folder.
    5. Use "extract here" to extract the contents of RhapsodyRoot.zip, answering "yes" to override existing files.
    6. Copy RhapsodyShare.zip into the <Rhapsody installation directory>\Share folder. (If you performed a "split" installation, copy the RhapsodyShare.zip file into the Share folder, usually located under C:\Users\<username>\IBM\Rational\Rhapsody.)
    7. Back up the following folders by copying their contents to another folder:
      • <Rhapsody installation directory>\Share\Profiles\AUTOSAR
      • <Rhapsody installation directory>\Share\Properties
      • <Rhapsody installation directory>\Share\Settings\UMLPerspectives
      • <Rhapsody installation directory>\Share\JavaAPI
      • <Rhapsody installation directory>\Share\LangC\mxf
    8. Use "extract here" to extract the contents of RhapsodyShare.zip, answering "yes" to override existing files.
    9. Copy RhapsodySamples.zip into the <Rhapsody installation directory>\Samples folder
    10. Backup the folder <Rhapsody installation directory>\Samples\Obfuscator by moving its contents to another folder.
    11. Use "extract here" to extract the contents of RhapsodySamples.zip, answering "yes" to override existing files.

On Windows - using archived files to install iFix for 64-bit version of Rhapsody

  1. Verify that you have installed IBM Rational Rhapsody 8.2 (BuildNumber-9794446)
  2. Make sure that Rhapsody is not currently running.
  3. Download the .zip file for the iFix: Rhapsody82iFix002_x64_archived.zip
  4. After extracting the contents of the .zip file, carry out the following steps:
    1. Copy RhapsodyRoot.zip into the <Rhapsody installation directory> folder.
    2. Back up the folder <Rhapsody installation directory> by copying all .exe and .dll files to a different folder.
    3. Back up the folder <Rhapsody installation directory>\RTCIntegration by moving its content to a different folder.
    4. Back up the folder <Rhapsody installation directory>\Eclipse by moving its content to a different folder.
    5. Use "extract here" to extract the contents of RhapsodyRoot.zip, answering "yes" to override existing files.
    6. Copy RhapsodyShare.zip into the <Rhapsody installation directory>\Share folder. (If you performed a "split" installation, copy the RhapsodyShare.zip file into the Share folder, usually located under C:\Users\<username>\IBM\Rational\Rhapsody.)
    7. Back up the following folders by copying their contents to another folder:
      • <Rhapsody installation directory>\Share\Profiles\AUTOSAR
      • <Rhapsody installation directory>\Share\Properties
      • <Rhapsody installation directory>\Share\Settings\UMLPerspectives
      • <Rhapsody installation directory>\Share\JavaAPI
      • <Rhapsody installation directory>\Share\LangC\mxf
    8. Use "extract here" to extract the contents of RhapsodyShare.zip, answering "yes" to override existing files.
    9. Copy RhapsodySamples.zip into the <Rhapsody installation directory>\Samples folder
    10. Backup the folder <Rhapsody installation directory>\Samples\Obfuscator by moving its contents to another folder.
    11. Use "extract here" to extract the contents of RhapsodySamples.zip, answering "yes" to override existing files.

On Linux

  1. Verify that you have installed IBM Rational Rhapsody 8.2 (BuildNumber-9794446)
  2. Make sure that Rhapsody is not currently running.
  3. Download the .zip file for the iFix: Rhapsody82iFix002-Linux.zip
  4. After extracting the contents of the .zip file, open IBM Installation Manager.
  5. From the menu, select File --> Preferences.
  6. Select "Add Repository".
  7. Click "Browse..." and select the file <Rhapsody8.2_iFix2 extract folder>\repository.config
  8. Clear the "search service repositories during installation and updates" check box.
  9. Click "OK" to close the Preferences dialog.
  10. Click "Update".
  11. Select "IBM Rational Rhapsody Developer 8.2" installation and click "Next".
  12. Select "IBM Rational Rhapsody Developer 8.2 iFix 002" and click "Next".
  13. Click "Update" to start the update process.
  14. Click Finish when the installation is done.

Uninstalling the iFix

On Windows - using MSI installation

  1. Open the folder: <Rhapsody installation directory>\Share\LangC\mxf
  2. Restore the content of this folder from the backup created during the installation (On Windows - using MSI installation, step #9)
  3. Go to Control Panel > All Control Panel Items > Programs and Features, and select "View installed updates".
  4. Select the relevant entry under IBM Rational Rhapsody 8.2xxxx

On Windows - using archived files

  1. Restore the folder <Rhapsody installation directory>:
    1. Restore the following folders from the backup created during the installation (On Windows - using archived files, step #4)
      • <Rhapsody installation directory>
      • <Rhapsody installation directory>\RTCIntegration
      • <Rhapsody installation directory>\Eclipse
    2. Remove the file RhapsodyRoot.zip
  2. Restore the folder <Rhapsody installation directory>\Share:
    1. Restore the following folders from the backup created during the installation (On Windows - using archived files, step #4)
      • <Rhapsody installation directory>\Share\Profiles\AUTOSAR
      • <Rhapsody installation directory>\Share\Properties
      • <Rhapsody installation directory>\Share\Settings\UMLPerspectives
      • <Rhapsody installation directory>\Share\JavaAPI
      • <Rhapsody installation directory>\Share\LangC\mxf
    2. Remove the file RhapsodyShare.zip
  3. Restore the folder <Rhapsody installation directory>\Samples:
    1. Restore the folder from the backup created during the installation (On Windows - using archived files, step #4)
    2. Remove the file RhapsodySamples.zip

On Linux

  1. Open IBM Installation Manager.
  2. Click "Uninstall".
  3. Select "IBM Rational Rhapsody Developer 8.2 (iFix 002)" and click "Next".
  4. Click Finish when done.