IBM Support

PI11497: Corrupted output when handling data with symbols inserted into a datagrid

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • = button3_onClick};
    
    private function button1_onClick (e Event in)
      dataGrid.data = [
       new Dictionary { field1 = 'Row 1, Column 1', field2 = 'Row 1,
    Column 2'},
       new Dictionary { field1 = 'Row 2, Column 1', field2 = 'Row 2,
    Column 2'},
       new Dictionary { field1 = 'Row 3, ?Column 1', field2 = 'Row
    3, Column 2'},
       new Dictionary { field1 = 'Row 4, Column 1', field2 = 'Row 4,
    Column 2'},
       new Dictionary { field1 = 'Row 5, Column 1', field2 = 'Row 5,
    Column 2'},
       new Dictionary { field1 = 'Row 6, Column 1', field2 = 'Row 6,
    Column 2'}
      ];
     end
    
    private function button2_onClick (e Event in)
      dataGrid.data = [
       new Dictionary { field1 = 'Row 1, Column 1', field2 = 'Row 1,
    Column 2'},
       new Dictionary { field1 = 'Row 2, Column 1', field2 = 'Row 2,
    Column 2'},
       new Dictionary { field1 = 'Row 3, ?Column? 1', field2 = 'Row
    3, Column 2'},
       new Dictionary { field1 = 'Row 4, Column 1', field2 = 'Row 4,
    Column 2'},
       new Dictionary { field1 = 'Row 5, Column 1', field2 = 'Row 5,
    Column 2'},
       new Dictionary { field1 = 'Row 6, Column 1', field2 = 'Row 6,
    Column 2'}
      ];
     end
    
    private function button3_onClick (e Event in)
      dataGrid.data = [
       new Dictionary { field1 = 'Row 1, Column 1', field2 = 'Row 1,
    Column 2'},
       new Dictionary { field1 = 'Row 2, Column 1', field2 = 'Row 2,
    Column 2'},
       new Dictionary { field1 = 'Row 3, ?script? 1', field2 = 'Row
    3, Column 2'},
       new Dictionary { field1 = 'Row 4, Column 1', field2 = 'Row 4,
    Column 2'},
       new Dictionary { field1 = 'Row 5, Column 1', field2 = 'Row 5,
    Column 2'},
       new Dictionary { field1 = 'Row 6, Column 1', field2 = 'Row 6,
    Column 2'}
      ];
     end
    
    end
    
    Steps:
    a) Pressing the Test ? button the datagrid's layout is
    corrupted, no column value is output related to row 3.
    b) Pressing the Test ?? button the datagrid ignores the text
    within the symbols so the left over 1 is output related to row
    3.
    c) Pressing the Test ?Script? button the datagrid stops loading
    and effectively terminates at the associated row 3.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Its observed the display is corrupted where data that's
    inserted into a Datagrid contains such as '?' , '?   ?',
    symbols.
    

Problem conclusion

  • Provide a new util function
    UtilLib.UtilNative.encodeString(string) to encode HTML
    string so that the user can choose to escape the HTML
    strings when passing data to the datagrid.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI11497

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-02-11

  • Closed date

    2015-03-23

  • Last modified date

    2015-03-23

  • 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

  • R900 PSN

       UP

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

Document Information

Modified date:
17 October 2021