IBM Support

HD47570: ADDING NEW MODULE TO SOLUTION CORRUPTS SOLUTION WHEN SOLUTION I S UNDER CLEARCASE SOURCE CONTROL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When Visual Studio is configured with ClearCase
    providing source
    control, and the active solution is under
    configuration control, the
    File + Add CAAV5 Project + New Module... menu
    item does not produce the
    expected behavior.
    .
    A dialog box is displayed saying that the .sln file
    could not be saved.
    The .sln file should have been checked out.
    .
    If the .sln file is checked out, using native
    ClearCase methods, and the
    Overwrite button is selected, the .sln file is
    overwritten, but the new
    .sln file has no source control data in it.
    .
    A dialog box is displayed, with a title
    of "AddFromTemplate ERROR while
    adding framework". The message in the panel
    is "The operation completed
    successfully.".
    .
    Either an error occured, and the message is wrong,
    or no error occured,
    and the title is wrong.
    .
    In either cae, the problem needs to be fixed.
    .
    In the ToolsData\VisualStudioNET\SolutionName
    directory, the
    NewModuleName.vcproj file is created, but no
    NewModuleName.vcproj.vspscc
    file is created.
    .
    The new module name is added to the
    SolutionExplorer pane, but the
    framework name is removed.
    .
    Using the CAAV5 Workspace + Choose\Refresh
    CAA V5 Project... menu item
    results in a dialog box with the title Error, and the
    message "No
    current workspace.
    .
    Please integrate the File + Add CAAV5 Project +
    New Module.. function
    with ClearCase properly.
    .
    

Local fix

Problem summary

  • Adding new module to solution corrupts solution when solution i
    s under ClearCase source control
    When Visual Studio is configured with ClearCase
    providing source
    control, and the active solution is under
    configuration control, the
    File + Add CAAV5 Project + New Module... menu
    item does not produce the
    expected behavior.
    .
    A dialog box is displayed saying that the .sln file
    could not be saved.
    The .sln file should have been checked out.
    .
    If the .sln file is checked out, using native
    ClearCase methods, and the
    Overwrite button is selected, the .sln file is
    overwritten, but the new
    .sln file has no source control data in it.
    .
    A dialog box is displayed, with a title
    of "AddFromTemplate ERROR while
    adding framework". The message in the panel
    is "The operation completed
    successfully.".
    .
    Either an error occured, and the message is wrong,
    or no error occured,
    and the title is wrong.
    .
    In either cae, the problem needs to be fixed.
    .
    In the ToolsData\VisualStudioNET\SolutionName
    directory, the
    NewModuleName.vcproj file is created, but no
    NewModuleName.vcproj.vspscc
    file is created.
    .
    The new module name is added to the
    SolutionExplorer pane, but the
    framework name is removed.
    .
    Using the CAAV5 Workspace + Choose\Refresh
    CAA V5 Project... menu item
    results in a dialog box with the title Error, and the
    message "No
    current workspace.
    .
    Please integrate the File + Add CAAV5 Project +
    New Module.. function
    with ClearCase properly.
    .
    

Problem conclusion

  • THIS PROBLEM WILL BE FIXED ON CATIA VERSION
    5 RELEASE 17 GA level.
    .
    Incident Diagnosis
    The case of a read only solution file wasn't taken
    care.
    .
    Correction Explanation
    A warning has been added to notify the user from
    this problem before adding module.
    The specific case of clear case hasn't been treated
    because this VCS is not the only one and severals
    way to react to such situatiob could be envisaged.
    The use warned by a message will do his best
    solution
    .
    

Temporary fix

Comments

APAR Information

  • APAR number

    HD47570

  • Reported component name

    CAA V5 NT>XP

  • Reported component ID

    569151100

  • Reported release

    516

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2005-12-08

  • Closed date

    2006-01-13

  • Last modified date

    2006-01-13

  • 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

    CAA V5 NT>XP

  • Fixed component ID

    569151100

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