IBM Support

PH32642: NESTED PROPERTIES DON'T SEEM TO BE WORKING AS EXPECTED

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

  • The expansion of ${p?:property} variables do not appear to be
    working quite right since we upgraded from v6.1.6.2 to v6.1.7.0.
    
    We have a job to execute utility shell scripts. It is written
    like this: ${p:SCRIPT_LINE_1} ${p?:SCRIPT_LINE_2}
    ${p?:SCRIPT_LINE_3}
     We plugged in the following values: SCRIPT_LINE_1=cd
    ${p:Git_Repo_Dir}
    SCRIPT_LINE_2=${a:LOCAL_SCRIPT_PATH}/ucb_git_verify_retrofit.sh
    ${p:Current_release} ${p:Future_releases} ${p:Git_Repo_Dir}
    On execution, we are getting:
    > script content:
    > -------------------------------
    > cd /app/rational/VIEWS/Github/
    > ${p?:SCRIPT_LINE_2} >
    > ===============================
    > command output:
    > /tmp/shell_command_1613849737249811254.tmp: line 2: p:
    :SCRIPT_LINE_2
    > ===============================
    > command exit code: 1
    
    The variable does not appear to be expanding. I have been unable
    to reproduce this exactly in a test environment, but I have been
    able to consistently replicate: SCRIPT_LINE_2=echo plain text
    expands consistently SCRIPT_LINE_2=echo text followed by
    variable ${p:SUCCESSFUL} SCRIPT_LINE_2=echo ${p:VARIABLE}
    followed by text echos nothing Since nested properties were
    introduced with this version, maybe this function requires
    further review? We have been able to work around this issue as
    we find them. Also, is the documentation for nested properties
    right? ${p:project_${p:version}_name <- does not appear to have
    balanced brackets.
    https://www.ibm.com/support/knowledgecenter/SS8NMD_6.1.7/com.ibm
    .ucbuild.doc/topics/template_create_props.html
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users on all platforms who has configured nested         *
    * properties.                                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Few inconsistencies in the variable expansions of Nested     *
    * properties                                                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Few inconsistencies in the variable expansions of Nested     *
    * properties.                                                  *
    ****************************************************************
    

Problem conclusion

  • Fixed the UCB server to expand the nested props with
    consistency.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH32642

  • Reported component name

    URBANCODE BUILD

  • Reported component ID

    5725P5700

  • Reported release

    615

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-12-14

  • Closed date

    2021-03-15

  • Last modified date

    2021-03-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

    URBANCODE BUILD

  • Fixed component ID

    5725P5700

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8NMD","label":"IBM UrbanCode Build"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"615"}]

Document Information

Modified date:
16 March 2021