IBM Support

PI26815: WORKLIGHT FAILS TO FIND MESSAGES.JSON WITH ERROR MESSAGE: FAILED TO LOAD RESOURCE: THE SERVER RESPONDED 404 (NOT FOU

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Customer is Italian customer and set up NLS locale with 'it'.
    
    http://localhost:10080/XXXHybridApps/apps/services/preview
    /XXXMobileBanking/common/0/default/worklight/messages/it-/
    messag es.json
    
    Worklight was lookinig for that file into /it-/ folder
    instead of /it/.
    
    There is a bug in wlutils.js in setLocalization() method.
    
    RTC defect#: 52985
    

Local fix

  • In wlutils.js(merged into worklight.js),
    change this line
    
    deviceLocale = lang.toLowerCase() + "-" + region.toUpperCase();
    
    to
    
    deviceLocale = lang.toLowerCase();
    if(region) deviceLocale += "-" + region.toUpperCase();
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * End users.                                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Failed to find the resources because '-' get appended to     *
    * language.                                                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * -                                                            *
    ****************************************************************
    

Problem conclusion

  • Fixed by checking the country.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI26815

  • Reported component name

    WORKLIGHT CONSU

  • Reported component ID

    5725I4301

  • Reported release

    620

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-10-01

  • Closed date

    2014-11-06

  • Last modified date

    2014-11-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

    WORKLIGHT CONSU

  • Fixed component ID

    5725I4301

Applicable component levels

  • R620 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"620","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 October 2021