IBM Support

HD78128: WAY TO CLEAN CONTEXTUAL REFERENCES FROM THE PRODUCT .

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as user error.

Error description

  • PROBLEM: Way to clean contextual references from
    the product using CAA API.
    .
    PRE-REQUISITE:
    Use the "???TestTool.zip" file uploaded for the CAA
    Workspace.
    Copy all the files from the zip file
    named "ContextualLinks_TestCase.zip" to
    "D:\CAA_Build\R18
    \IPPII\Parts\Example_IPP\Exchange".
    .
    INTERACTIVE SCENARIO:
    01. In interactive CATIA V5 session open the
    product
    31DDDDDD00A_STARTUP_EXCHANGE.CATProduct
    02. There is a problem in the contextual link for
    part
    31CCCCCC00A_STARTUP_PIPE_EXCHANGE.CATPa
    rt
    (Refer Expected_Behaviour_1.JPG)
    03. Use the CATIA V5 interactive menu "Define
    Contextual Links"
    (Refer Expected_Behaviour_2.JPG)
    04. Change context dialog box comes up.
    Select "OK" to define the contextual link again
    (Refer Expected_Behaviour_3.JPG)
    05. The broken contextual link is corrected and
    update is required. Select the Update
    (Refer Expected_Behaviour_4.JPG)
    06. The broken contextual link is correctly fixed
    (Refer Expected_Behaviour_5.JPG)
    .
    SCENARIO:
    .
    01. Extract the data (product) to folder
    02. The above path is hard-coded inside the
    workspace. It may be changed as required.
    03. Build the attached workspace
    04. Run the build
    05. Open the product
    31DDDDDD00A_STARTUP_EXCHANGE.CATProduct
    06. Run the command "???Test" to open up the
    Dialog box.
    07. Click on the Test Button of this Dialog opened.
    NOTES:
    01. The test tool will not show anything on the
    screen.
    It runs the ChangeContext method on the part
    31CCCCCC00A_STARTUP_PIPE_EXCHANGE.CATPa
    rt
    02. Check that there are no error messages in the
    console window
    03. Check if the broken contextual link is corrected
    .
    OBSERVATION:
    01. Our observation is that the contextual link is
    not corrected by the API ChangeContext.
    02. There are no error messages in the console i.e.
    the API runs without error.
    .
    EXPECTED RESULT:
    Customer wants the same behaviour of the
    interactive CATIA V5 session.
    .
    .
    Best Regards,
    CAA Maintenance Team.
    .
    

Local fix

Problem summary

Problem conclusion

Temporary fix

Comments

  • This is a User ERROR.
    Additional Closure
    Information:
    .
    Incident Diagnosis
    Way to clean contextual
    references from the
    product.
    .
    Correct Application
    In
    ChangeContext
    public static HRESULT ChangeContext(
    const
    CATIxPDMPartItem_var& iPartItemToChange,
    const
    CATBaseUnknown_var&
    iNewContextInstance)
    .
    The parameter
    iNewContextInstance should be an
    instance of iPartItemToChange
    in root context (not
    first level of instance).
    .
    FYI,
    Customer
    was using reference of the
    iPartItemToChange instead of
    passing instance of it.
    .
    

APAR Information

  • APAR number

    HD78128

  • Reported component name

    CAA V5 NT>XP

  • Reported component ID

    569151100

  • Reported release

    516

  • Status

    CLOSED USE

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2008-09-23

  • Closed date

    2009-10-30

  • Last modified date

    2009-10-30

  • 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

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSVJ2K","label":"CATIA"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"516","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
22 August 2024