IBM Support

PH45827: A STEP USING A PRECONDITION WILL ATTEMPT TO RESOLVE VALUES OF PROPERTIES NOT USED IN THE PROCESS EXECUTION

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

  • Steps to reproduce:
    
    1) Create a Component Process:
     Operational No Version
     Single 'Shell Step' doing an 'echo hello
     Precondition:
     properties.get("environment.name") !== undefined &&
     properties.get("environment.name") !== null &&
     properties.get("environment.name") !== ""
    
    2) Create an Environment on an Application with an 'Environment
    Property' called 'someproperty ', with the value
    '${p:unresolvable.property}'
    3) Run a deployment against the Environment
    
    Expected Result:
    The Process Execution and Step should end in 'Success'.
    
    Actual Result:
    The Process Execution ends in Success, but the Step shows
    'Precondition Failed', and the Success indicator will be grey.
    
    In the server logs you will see the following message:
    Caused by:
    com.urbancode.ds.subsys.process.property_context.UnresolvedPrope
    rtyException: The following properties were left unresolved:
    ${p:unresolvable.property}, ${p:unresolvable.property},
    ${p:unresolvable.property}. Please ensure their values have been
    given and that the property names are spelled correctly
    
    
    
    Problem:
    The Precondition should not try to resolve Values of Properties
    that are not being used in the Process Execution / that have not
    been defined on the Step, Precondition, or other scope called
    during the Process Execution.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Deploy Server Web UI Users                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * A Step using a Precondition will attempt to resolve Values   *
    * of Properties not used in the Process Execution.             *
    * For example:                                                 *
    * If Properties have been defined on the Environment scope,    *
    * with a Value like '${p:unresolvable.property}', and you have *
    * a Precondition script that attempts to get the               *
    * environment.name, the Step will fail because it cannot       *
    * resolve  '${p:unresolvable.property}'.  Even if you have not *
    * attempted to use / resolve the Property that has '           *
    * '${p:unresolvable.property}',' as it's value.                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Fix is provided in IBM UrbanCode Deploy 7.3.0.0              *
    ****************************************************************
    

Problem conclusion

  • Fix is provided in IBM UrbanCode Deploy 7.3.0.0
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH45827

  • Reported component name

    UC DEPLOY

  • Reported component ID

    5725M5400

  • Reported release

    712

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-04-21

  • Closed date

    2022-12-15

  • Last modified date

    2022-12-15

  • 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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"712","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 December 2022