IBM Support

PM02449: Javascript errors in hxclient_S_v3_1_2_iw.js when using JSF date picker button with Hebrew

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • IBM Rational Business Developer v7.5.1.3
    IBM Websphere application Server v6.0.2.37
    
    When running a JSF page using the calendar helper (datePicker),
    the following errors are raised when ran with Hebrew locale on W
    AS 6.0.x:
    
    Error: missing ; before statement Source File: http://localhost:
    9082/04245DatePickerWAS6/.ibmjsfres/hxclient_S_v3_1_2_iw.js?view
    Locale=iw_IL Line: 99, Column: 32 Source Code: hX_6.L['iw_IL'].S
    TR_AM_SUFFIX = '\u05dc\u05e4\u05d4'\u05e6';
    
    Error: hX_6.L[l].STRA_DATE_SHDAYS is undefined Source File: http
    ://localhost:9082/04245DatePickerWAS6/.ibmjsfres/hxclient_core_v
    3_1_2.js Line: 1760
    
    Steps to reproduce:
    
    1- set regional settings to language=Hebrew and country=Israel
    2- startworkbench and server
    3- create a JSF Web project
    4- create a JSF page containing an input text of type Date and u
    sing the helper.
    5- run it on WAS 6.0.2.x
    6- helper button is not visible and Javascript errors are raised
    

Local fix

Problem summary

  • Some of the strings in Hebrew contain quotation marks, which
    breaks JavaScript parsing.
    

Problem conclusion

  • Fixed in JWL 3.0.14 (for Rational Application Developer
    7.0.0.11) and 3.1.5 (for Rational Application Developer
    7.5.5.1)
    
    Changed JS encoding routines to always encode quotation mark
    character (into \u form), so that it never appears as part
    of the string.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM02449

  • 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-12-01

  • Closed date

    2010-04-01

  • Last modified date

    2010-04-01

  • 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"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
24 October 2021