IBM Support

PI91047: ADD A STATUS TO A VERSION CLI REST COMMAND CAN ADD DELETED STATUS TO A VERSION

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • "Add a status to a version" REST command (described below) can
    add any deleted Status to a Version.
    
    Steps to reproduce
    1. Go to https://{hostname}:{port}/#automation/statuses page.
    2. Click "Add Status" on Version Statuses section
    3. Input "Test" on Name field --> Click "Save"
    4. Delete the version status "Test" that you just added in the
    step 3.
    5. Execute below curl command to call REST Endpoint - "Add a
    status to a version" to add "Test" state to your component
    version.
    curl -k -u admin:password -X PUT
    "https://{hostname}:{port}/cli/version/addStatus?version={ID of
    Version}&status=Test"
    6. Go to that component version. i.e.
    https://{hostname}:{port}/#version/{ID of Version}
    You should be able to see the version status, "Test", is added
    to the Version.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All end users on all supported browsers.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * "Add a status to a version" REST command (described below)   *
    * can                                                          *
    * add any deleted Status to a Version.                         *
    *                                                              *
    * Steps to reproduce                                           *
    * 1. Go to https://{hostname}:{port}/#automation/statuses      *
    * page.                                                        *
    * 2. Click "Add Status" on Version Statuses section            *
    * 3. Input "Test" on Name field --> Click "Save"               *
    * 4. Delete the version status "Test" that you just added in   *
    * the                                                          *
    * step 3.                                                      *
    * 5. Execute below curl command to call REST Endpoint - "Add a *
    * status to a version" to add "Test" state to your component   *
    * version.                                                     *
    * curl -k -u admin:password -X PUT                             *
    * "https://{hostname}:{port}/cli/version/addStatus?version={ID *
    * of                                                           *
    * Version}&status=Test"                                        *
    * 6. Go to that component version. i.e.                        *
    * https://{hostname}:{port}/#version/{ID of Version}           *
    * You should be able to see the version status, "Test", is     *
    * added                                                        *
    * to the Version.                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Fixed in version 6.2.7.1                                     *
    ****************************************************************
    

Problem conclusion

  • Fix is provided in IBM UrbanCode Deploy 6.2.7.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI91047

  • Reported component name

    UC DEPLOY

  • Reported component ID

    5725M5400

  • Reported release

    625

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-12-04

  • Closed date

    2018-02-12

  • Last modified date

    2018-02-12

  • 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

    UC DEPLOY

  • Fixed component ID

    5725M5400

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"625","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
12 February 2018