Issue 27 in gwt-mobile-webkit: onTransactionStart() in not called sometimes after Database.transaction()

4 views
Skip to first unread message

gwt-mobi...@googlecode.com

unread,
Nov 16, 2010, 5:45:59 AM11/16/10
to gwt-mobi...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 27 by zbranyiczky: onTransactionStart() in not called sometimes
after Database.transaction()
http://code.google.com/p/gwt-mobile-webkit/issues/detail?id=27

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

Attachments:
SzemleOffline.java 3.2 KB
Login.java 4.7 KB

gwt-mobi...@googlecode.com

unread,
Jan 25, 2012, 7:10:59 AM1/25/12
to gwt-mobi...@googlegroups.com

Comment #1 on issue 27 by sfo...@gmail.com: onTransactionStart() in not
called sometimes after Database.transaction()
http://code.google.com/p/gwt-mobile-webkit/issues/detail?id=27

Am facinf the same issue!!!

Reply all
Reply to author
Forward
0 new messages