hugoloza / gwt-mobile-webkit

Automatically exported from code.google.com/p/gwt-mobile-webkit
2 stars 0 forks source link

onTransactionStart() in not called sometimes after Database.transaction() #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
- from onModuleLoad() it works, ie onTransactionStart callback function is 
always called after database.transaction()
- from onModuleLoad (in SzemleOffline.java) I start a new RootPanel using a 
composite Login window (Login.java), from constructor of Login it works
- from onClick event of a buttons of the Login window onTransactionStart 
callback function is not called, but onTransactionSuccess is always called

What is the expected output? What do you see instead?
onTransactionSuccess always should be invoked

What version of the product are you using? On what operating system?
Win XP SP3, Chrome 7.0.517.44, GWT 2.0.4, gwt-html5-database-1.5.1

Please provide any additional information below.
It seems that from events, database.transaction (javascript) does not work as 
it should (HTML5-Chrome error?), because its first callback function is never 
called, or the javascript->java mapping does not work sometimes. I doubt the 
latter one, because onTransactionSuccess is always found/executed. I have found 
no similar problem reported, despite I had searched the internet for it.

gwt-log:
(SzemleOffline.java:49) 2010-11-16 10:30:46,630 [DEBUG] 
com.bpc.karszakerto.client.SzemleOffline$1: onTransactionStart
(SzemleOffline.java:57) 2010-11-16 10:30:46,724 [DEBUG] 
com.bpc.karszakerto.client.SzemleOffline$1: onTransactionSuccess
(Login.java:90) 2010-11-16 10:30:54,099 [DEBUG] 
com.bpc.karszakerto.client.Login$3$1: onTransactionSuccess
(CommonQueryHandler.java:316) 2010-11-16 10:30:54,146 [DEBUG] 
com.bpc.karszakerto.client.integration.handler.CommonQueryHandler$1: 
onTransactionSuccess

Original issue reported on code.google.com by zbranyic...@gmail.com on 16 Nov 2010 at 10:45

Attachments:

GoogleCodeExporter commented 9 years ago
Am facinf the same issue!!!

Original comment by sfo...@gmail.com on 25 Jan 2012 at 12:10