ctranfd
Hi,
One of our users has received a javascript error message - "Warning: lscommons.js not included before lsengine.js Please don't modify the lsengine.html file".
The user had the page open in firefox (version 3.5) since the morning (it's now been about 8 hours) and the error message was received for the 2nd time today.
Just wondering what might have caused this?
Let me know if you require additional information.
Many Thanks,
CT
Dario Crivelli
For some reason, the browser could not load the first LS javascript library file,
so the second LS javascript library code complained.
We have never managed to replicate the case. It seems a browser bug or limitation.
We expect that the problem occurs only on page initialization, hence upon some user action on the screen. After a further refreshing action the problem should disappear.
May you please confirm the above? Do you know whether the user refreshed the page multiple times, in order to get the issue twice in a day?
Starting with the forthcoming Web Client Library 4.4 release, the alert will be removed
and custom code will be able to detect a similar unexpected case through a try-catch block.
ctranfd
Hi Dario,
This happened on the homepage and this page actually refreshes every 10 minutes.
I can provide a link to the particular page to see if other parts of the page are conflicting with the Lightstreamer client javascript?
Cheers,
CT
Dario Crivelli
Ok, please send us a suitable link via email,
so that we can perform some attempts to replicate the issue.
Javascript name conflicts are not possible in this case, because the reported error occurs in the lsengine.html page,
which is internal to our library and cannot be mashed up with custom code.