Reputation: 35
I am working with Worklight 6.2 Enterprise Edition along with Dojo and dojox/app. I have been experiencing some very strange behaviour with the MBS.
I have some Dojo templates that are used to create widgets.
Each time I load the MBS the view is loaded but often the widgets instantiated from the templates are not being loaded correctly and I am receiving an error from Dojo about an "Invalid Template". Periodically everything loads fine.
When I look under the Network tab in Chrome's Developer Tools and look at the response from the server for one of the broken templates what I see is a portion of code from other parts of the HTML. For example, the template should simply be a small HTML file containing code for an input field and a label but the browser received sections of HTML from completely unrelated sections of the app (for example, the HTML for other templates).
Each time I do a refresh I receive a different result for the same file which may contain superfluous code, too little code, or be correct.
I am not able to recreate this behaviour on device which leads me to believe there is something wrong with the Worklight development server.
Any help would be appreciated.
Thanks, Chris
Upvotes: 2
Views: 253
Reputation: 44516
This has been identified as a defect and was recently resolved.
The intention is to have the fix publically available from IBM Fix Central as well as the Eclipse Marketplace, soon (late July, 2014).
I suggest to check back by the end of the month and re-download & install the Worklight Studio plug-in at that time to verify your issue was indeed resolved.
IBM customers can see the APAR page at: https://www-304.ibm.com/support/entdocview.wss?uid=swg1PI21516
If you opened a PMR for this issue, a fix will be provided there as well.
Upvotes: 1