IBM Support

PK91665: Insert variable {1} in message bundle doesn't get substituted

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    
     - Product name (Build ID or version/patch level): IBM Rational
    Business Developer v7.5.1.3
    
    Reproducible Y/N: Y
    
    Description of problem:
    
    
    After migration from VAGen to RBD 7.5.1.3, Web transaction will
    fail to display messages having insert variable {1}.
    
    Steps to reproduce:
    
    EGL code like
    SysLib.setError(uirec.inputfield2,'0002','hello world');
    
    with a message bundle like
    {contents = [
      [1, 'Warning message'],
      [2, 'Error message {1}']
     ]}
    
    will be displayed as 'Error message {1}' instead of 'Error messa
    ge hello world'
    

Local fix

Problem summary

  • When SysLib.setError is used in a web transaction, the first
    insert into the error message is at position {1}.  This was
    incorrectly changed to position {0} in EGL version 7.
    

Problem conclusion

  • The first insert is now at position {1}.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK91665

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-07-17

  • Closed date

    2009-11-09

  • Last modified date

    2009-11-09

  • 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

    RATL BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R751 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
09 November 2009