IBM Support

PI09156: FIELD FORMATTING CHANGES CAUSE VALUE TO BE OUTPUT IN ALL TESTS

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When a date message field contains an entry in the Value box and
    has Formatting settings, changes made to the Formatting can
    cause the test to output the Value data instead of the Formatted
    data.
    
    The problem affects the test being edited and other tests using
    the same formatting.
    The problem stops when the project is closed and re-opened.
    
    STEPS TO REPRODUCE:
    
    1. Use a messaging action and apply an XML schema that has a
    Date field.
    2. Edit the Date field and put a value in the Value text.
    3. Click the Formatting tab and click Enable Formatting.
    4. Click the Use Current Date and Time check-box.
    5. Enter an Output Format.
    6. Run the test and see the correct output is sent.
    7. Edit the test and make a change to the Output Format.
    8. Run the test.
    
    EXPECTED RESULTS:
    
    The test outputs the new formatting.
    
    ACTUAL RESULTS:
    
    The Value entry is sent on the message.
    Other tests with the same formatting also output the Value data.
    
    WORKAROUND:
    
    Close the project and re-open it.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users of Rational Integration Tester                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * If a user made changes to the field formatting options for   *
    * the value of a date message field  in a SOAP header, then    *
    * those changes could cause the test and other tests using the *
    * same formatting to output the raw value rather than the      *
    * formatted value.  The problem stopped occurring if the       *
    * project was closed and reopened.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Users affected by this problem should upgrade to version     *
    * 8.5.1.2 of Rational Integration Tester.                      *
    ****************************************************************
    

Problem conclusion

  • This problem was caused by the SOAP Header being loaded into
    memory before the test was edited.  The in-memory copy was used
    when the test was run and it did not have the changes
    incorporated in it.  This problem has been resolved in Rational
    Integration Tester 8.5.1.2 and the correct header, including the
    formatting, is now used at run time.
    
    Note that use of the "Use Current Date and Time" option causes
    the actual value entered into the field to be ignored.  This is
    because formatting takes precedence and if the formatting
    command generates a value, then it is used in preference to the
    entered value.  However, the "type" validation is done on the
    entered vale before the formatting occurs.  This might require a
    user to enter a "value" in order to pass type validation even
    though this value is not used at run time.  For date/time-based
    validation, a simple workaround is to use the tag
    %%SYSTEM/CURRENT_DATE_TIME%%.  This means that the type
    validation will pass and then the formatting will be applied.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI09156

  • Reported component name

    RATL INTEGRA TE

  • Reported component ID

    5725G79IT

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-01-08

  • Closed date

    2014-03-06

  • Last modified date

    2014-03-06

  • 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 INTEGRA TE

  • Fixed component ID

    5725G79IT

Applicable component levels

  • R801 PSN

       UP

  • R850 PSN

       UP

  • R851 PSY

       UP



Document information

More support for: Rational Test Workbench

Software version: 8.0.1

Reference #: PI09156

Modified date: 06 March 2014