APAR status
Closed as program error.
Error description
During development, if custom modules are added to a Dojo Library project outside of the dojo/dojox/dijit folders, these modules will not be resolved. This may cause widgets not to render on the page at all.
Local fix
Include the custom module within the Worklight project's www folder directly, either as loose files or by creating a layer.
Problem summary
**************************************************************** * USERS AFFECTED: * * IBM Worklight Studio 6.0 developers building or using custom * * modules for a Worklight application that utilizes a Dojo * * Library project. * **************************************************************** * PROBLEM DESCRIPTION: * * During development, if custom modules are added to a Dojo * * Library project outside of the dojo/dojox/dijit folders, * * these modules will not be resolved. This may cause widgets * * not to render on the page at all. This results from the * * resource not being found by the require invocation. The user * * may notice that in the console, an error message is logged * * that the module that is needed is not found. * **************************************************************** * RECOMMENDATION: * **************************************************************** The list of modules that were mapped to the Dojo Library project was static for dojo, dojox, and dijit. Any other modules that appear as siblings to those would not be resolved if they are not local to the application. The user may first notice that the widgets on the page do not render. Further inspection of the console would identify that the server responded with a 404 Not Found error when requesting the module.
Problem conclusion
In the application, the list of module mappings to the Dojo Library project was changed to dynamically resolve all modules within the library's dojo root folder. The fix for this APAR is currently targeted for inclusion in fixpack 6.0.0.1. A fix is available in 6.0.0.0-IF201307011413 and later.
Temporary fix
Comments
APAR Information
APAR number
PM92788
Reported component name
WORKLIGHT CONSU
Reported component ID
5725I4301
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-07-11
Closed date
2013-07-11
Last modified date
2013-07-11
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
R600 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSZH4A","label":"IBM Worklight"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"600","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
11 July 2013