APAR status
Closed as program error.
Error description
Abstract: When generating CGR files from CATProducts, if there are broken links, CATDMUUtility does not generate any error, or any kind of warning. CATDMUUtility is used by VPM V4 XCAD in order to have light representation of black-boxed documents. Since CGR for suc h objects are successfully generated, it is impossible to determ ine where objects are missing the mockup. When opening CATProduc ts with missing links in CATIA V5, warnings are issued. Scenario: 1. Initialise a console with V5 environment 2. Launch CNEXT and create a simple product structure, with some geometry TestPS.CATProduct --- P1.CATPart --- P2.CATPart 3. Save the data in some directory. With the previous example, w e have the following files : 1 vpmadm catia 56550 Feb 18 09:43 P1.CATPart 1 vpmadm catia 57964 Feb 18 09:43 P2.CATPart 1 vpmadm catia 14942 Feb 18 09:43 TestPS.CATProduct 4. Quit CATIA V5. 5. Go into the directory in which data has been saved and launch the following command, replacing filenames accordingly with your tes t set: "CATDMUUtility -f $(pwd)/TestPS.CATProduct -cgr $(pwd)/Test PS.cgr" Here is CATDMUUtility output: CATDMUUtility starts at 2011-02-18-09.47.21 INFORMATION: The following document was successfully treated: /home/users/vpmadm/tmp/TESTSV5/TestPS.CATProduct OK: The input document was successfully treated CATDMUUtility stops after a duration of 0 hour 0 min 1 sec 6. Check the generated CGR by inserting it in a new CATProduct. 7. Now hide one of the CATParts, in order to have a broken link when opening the CATProduct file. For example, I have renamed P1 .CATPart as P1.CATPart.old 8. Launch the following command: CATDMUUtility -f $(pwd)/TestPS.CATProduct -cgr $(pwd)/TestPS_2.c gr Here is CATDMUUtility output: CATDMUUtility starts at 2011-02-18-09.52.20 INFORMATION: The following document was successfully treated: /home/users/vpmadm/tmp/TESTSV5/TestPS.CATProduct OK: The input document was successfully treated CATDMUUtility stops after a duration of 0 hour 0 min 1 sec KO. CATDMUUtility has not returned an error or logged a warning. 9. Check the generated CGR by inserting it in a CATProduct You w ill see only P2 in the TestPS. Result: When generating CGR files from CATProducts, if there are broken links, CATDMUUtility does not generate any error, or any kind of warning. Expected result: CATDMUUtility should return an error or send an explicit warning on standard output, as when trying to open the CATProduct with broken link in CATIA V5.
Local fix
empty
Problem summary
Abstract: When generating CGR files from CATProducts, if there are broken links, CATDMUUtility does not generate any error, or any kind of warning. CATDMUUtility is used by VPM V4 XCAD in order to have light representation of black-boxed documents. Since CGR for such objects are successfully generated, it is impossible to determine where objects are missing the mockup. When opening CATProducts with missing links in CATIA V5, warnings are issued. Scenario: 1. Initialise a console with V5 environment 2. Launch CNEXT and create a simple product structure, with some geometry TestPS.CATProduct --- P1.CATPart --- P2.CATPart 3. Save the data in some directory. With the previous example, we have the following files : 1 vpmadm catia 56550 Feb 18 09:43 P1.CATPart 1 vpmadm catia 57964 Feb 18 09:43 P2.CATPart 1 vpmadm catia 14942 Feb 18 09:43 TestPS.CATProduct 4. Quit CATIA V5. 5. Go into the directory in which data has been saved and launch the following command, replacing filenames accordingly with your test set: "CATDMUUtility -f $(pwd)/TestPS.CATProduct -cgr $(pwd)/TestPS.cgr" Here is CATDMUUtility output: CATDMUUtility starts at 2011-02-18-09.47.21 INFORMATION: The following document was successfully treated: /home/users/vpmadm/tmp/TESTSV5/TestPS.CATProduct OK: The input document was successfully treated CATDMUUtility stops after a duration of 0 hour 0 min 1 sec 6. Check the generated CGR by inserting it in a new CATProduct. 7. Now hide one of the CATParts, in order to have a broken link when opening the CATProduct file. For example, I have renamed P1.CATPart as P1.CATPart.old 8. Launch the following command: CATDMUUtility -f $(pwd)/TestPS.CATProduct -cgr $(pwd)/TestPS_2.cgr Here is CATDMUUtility output: CATDMUUtility starts at 2011-02-18-09.52.20 INFORMATION: The following document was successfully treated: /home/users/vpmadm/tmp/TESTSV5/TestPS.CATProduct OK: The input document was successfully treated CATDMUUtility stops after a duration of 0 hour 0 min 1 sec KO. CATDMUUtility has not returned an error or logged a warning. 9. Check the generated CGR by inserting it in a CATProduct You will see only P2 in the TestPS. Result: When generating CGR files from CATProducts, if there are broken links, CATDMUUtility does not generate any error, or any kind of warning. Expected result: CATDMUUtility should return an error or send an explicit warning on standard output, as when trying to open the CATProduct with broken link in CATIA V5.
Problem conclusion
NOTE THAT THIS PROBLEM WILL ALSO BE FIXED ON V5R20 SP7. NOTE THAT THIS PROBLEM WILL ALSO BE FIXED ON V5R21 SP2. Additional Closure Information: Technical explanation of the defect: When generating CGR files from CATProducts, if there are broken links, CATDMUUtility does not generate any error, or any kind of warning. Technical explanation of the correction: Code has been modified so that when broken link is found in the Product, appropriate message is logged in the report. This correction is provided under an environment variable. You have to set the following variable as 1 to get the appropriate message in the log file when exporting a CGR: PS_Enable_Broken_Data_Warning
Temporary fix
Comments
APAR Information
APAR number
HE08087
Reported component name
CATIA V5 HP-UX
Reported component ID
569102000
Reported release
519
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-06-21
Closed date
2011-11-07
Last modified date
2011-11-07
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
CATIA V5 HP-UX
Fixed component ID
569102000
Applicable component levels
R519 PSN
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSVJ2K","label":"CATIA"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"519","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]
Document Information
Modified date:
07 November 2011