07-15-2011 09:44 AM
Hi,
We are doing some regression testing on a real device running OS 7 (7.0.0.187) and we are seeing some strange errors at a particular point. Here is the scenario:
1. User clicks a button
2. Using window.open we open a separate tab. This newly opened tab does some processing including DB updates and XHR
3. The original tab/windows continues to process and also does some DB updates.
4. Intermittently we see the following message: unable to open a transaction to the database. Error code 1
Based on the error text, we are assuming that this is a locking issue on the DB. However, what is strange is that we have never seen this issue in OS6. Has something changed in OS 7 that makes the DB engine behave differently? Or perhaps our hypothesis is wrong completely.
Any ideas/suggestions would be welcome.
Alon
Solved! Go to Solution.
07-18-2011 11:53 AM
Hi Alon,
I believe this is caused by the fact that prior to 7.0, there was only one JavaScript threead for the whole browser independant of the tab you were running on. Starting in 7.0 each tab has its own thread.
button below the post(s)07-18-2011 01:40 PM
Thanks makes a lot of sense. Thanks.
I have sent an email off to my RIm contact and if he responds with any further details I will post here.
Regards,
Alon