APAR status
Closed as Permanent restriction.
Error description
Below is the syntax of the API calls, checkIn and checkOut as per the JavaDoc documentation available for the same. IRPApplication.checkIn(java.lang.String unitName, java.lang.String label, int isLocked, int isRecursive, java.lang.String description) IRPApplication.checkOut(java.lang.String unitName, java.lang.String label, int isLocked, int isRecursive) However, the above mentioned API calls do not seem to work correctly. Using the below sample code: IRPApplication myApp = RhapsodyAppServer.getActiveRhapsodyApplication(); IRPProject myPrj = myApp.activeProject(); System.out.println(myPrj.getName()); IRPModelElement myEle = myApp.getSelectedElement(); IRPUnit myUnit = (IRPUnit) myEle; System.out.println(myUnit.getName()); myApp.checkOut('C:\\RhapsodyView\\Administrator_view\\RhapsodyV ob\\TestFlow\\TestFlow_rpy\\class_0.cls', 'class_0', 0, 0); //myApp.checkIn('C:\\RhapsodyView\\Administrator_view\\Rhapsody Vob\\TestFlow\\TestFlow_rpy\\class_0.cls', 'class_0', 0, 0, ''); For the checkIn API call, we get a message in the Rhapsody's Output window, indicating that the checkIn operation is being performed; however, the unit is not actually checked-in. Similarly, for the checkOut API call, we get a message dialog box 'Operation Completed. See Configuration Management tool to obtain more information,'; but in this case also the unit is not actually checked-out. Attached are a couple of screenshots for your reference.
Local fix
NA
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** Java API calls, 'checkIn' and 'checkOut', do not work as documented.
Problem conclusion
This is how the feature is designed to work.
Temporary fix
Comments
APAR Information
APAR number
PM49355
Reported component name
TLOGIC RHAPSODY
Reported component ID
5724V74RP
Reported release
752
Status
CLOSED PRS
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-10-06
Closed date
2012-11-15
Last modified date
2012-11-15
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Applicable component levels
Rate this page:
Average rating
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.