IBM Support

PI24540: POST-PROCESSING SCRIPT EXAMPLE IS INCORRECT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as documentation error.

Error description

  • The Post-processing script contained in the InfoCenter page:
    
    http://www-01.ibm.com/support/knowledgecenter/SS4GSP_6.1.0/com.i
    bm.udeploy.doc/topics/comp_postprocess_examples.html?lang=en
    
    is incorrect. It is missing the following lines of code:
    
                  //
                  // In this case, we build up an "Error" property
    which
                  // contains the text of all errors that are found.
    We find every
                  // line starting with "error at line" and add it
    to this list.
                  //
                  var errors = properties.get("Error");
                  if (errors == null) {
                      errors = new java.util.ArrayList();
                      properties.put("Error", errors); // This line
    is missing
                  }
                  errors.add(line);
    
    ....
    
              //
              // Convert the collected list of error strings into a
    single string and
              // set that as an output property.
              //
              var errors = properties.get("Error");
              if (errors == null) {
                  errors = new java.util.ArrayList();
                  properties.put("Error", errors); // This line is
    missing
              }
              properties.put("Error", errors.toString());
    
    The absence of these lines prevents the addition of the error
    lines to the output properties.
    

Local fix

  • Modify the supplied example as described above.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users of IBM UrbanCode Deploy documentation              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * POST-PROCESSING SCRIPT EXAMPLE IS INCORRECT                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Documentation updated in IBM UrbanCode Deploy 6.1.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI24540

  • Reported component name

    UC DEPLOY

  • Reported component ID

    5725M5400

  • Reported release

    610

  • Status

    CLOSED DOC

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2014-08-25

  • Closed date

    2014-12-11

  • Last modified date

    2014-12-11

  • 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 & Data Platform"},"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 October 2021