Closed Bug 730999 Opened 12 years ago Closed 1 year ago

Sign-out does not sign-out the currently active session

Categories

(Web Apps :: Soup, defect)

ARM
Android
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: aaronmt, Unassigned)

Details

(Keywords: regression)

Currently when one opts to sign out via the Android menu and opts to view the Dashboard, one will notice that they are currently not signed out and that their existing dashboard occupied with applications will re-appear into view.

Whilst performing this action, I noticed the following perhaps related or perhaps not in ADB logcat:

W/webcore ( 9583): java.lang.Throwable: EventHub.removeMessages(int what = 107) is not supported before the WebViewCore is set up.
W/webcore ( 9583): 	at android.webkit.WebViewCore$EventHub.removeMessages(WebViewCore.java:1671)
W/webcore ( 9583): 	at android.webkit.WebViewCore$EventHub.access$7800(WebViewCore.java:920)
W/webcore ( 9583): 	at android.webkit.WebViewCore.removeMessages(WebViewCore.java:1783)
W/webcore ( 9583): 	at android.webkit.WebView.sendOurVisibleRect(WebView.java:2858)
W/webcore ( 9583): 	at android.webkit.ZoomManager.setZoomScale(ZoomManager.java:586)
W/webcore ( 9583): 	at android.webkit.ZoomManager.access$1700(ZoomManager.java:49)
W/webcore ( 9583): 	at android.webkit.ZoomManager$PostScale.run(ZoomManager.java:977)
W/webcore ( 9583): 	at android.os.Handler.handleCallback(Handler.java:605)
W/webcore ( 9583): 	at android.os.Handler.dispatchMessage(Handler.java:92)
W/webcore ( 9583): 	at android.os.Looper.loop(Looper.java:137)
W/webcore ( 9583): 	at android.app.ActivityThread.main(ActivityThread.java:4340)
W/webcore ( 9583): 	at java.lang.reflect.Method.invokeNative(Native Method)
W/webcore ( 9583): 	at java.lang.reflect.Method.invoke(Method.java:511)
W/webcore ( 9583): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
W/webcore ( 9583): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
W/webcore ( 9583): 	at dalvik.system.NativeStart.main(Native Method)
V/PhoneStatusBar(  272): setLightsOn(true)
I/ActivityManager(  197): Displayed org.mozilla.labs.Soup/.app.StoreActivity: +625ms

STR:

1. Sign in via BrowserID
2. Tap MENU | Sign-out, and confirm sign-out
3. Tap MENU | Dashboard

See video: http://www.youtube.com/watch?v=9lOIhHDYJk8&hd=1

--
Tested via 0.4-mwc
Samsung Galaxy Nexus (Android 4.0.2)
Switching to the dashboard also yields:


I/SqliteDatabaseCpp( 9583): sqlite returned: error code = 1, msg = statement aborts at 2: [COMMIT;] cannot commit - no transaction is active, db=/data/data/org.mozilla.labs.Soup/databases/webview.db
W/SyncService( 9583): Sync did not happen
W/SyncService( 9583): android.database.sqlite.SQLiteException: cannot commit - no transaction is active
W/SyncService( 9583): 	at android.database.sqlite.SQLiteStatement.native_executeSql(Native Method)
W/SyncService( 9583): 	at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:90)
W/SyncService( 9583): 	at android.database.sqlite.SQLiteDatabase.executeSql(SQLiteDatabase.java:1899)
W/SyncService( 9583): 	at android.database.sqlite.SQLiteDatabase.execSQL(SQLiteDatabase.java:1839)
W/SyncService( 9583): 	at android.database.sqlite.SQLiteDatabase.endTransaction(SQLiteDatabase.java:714)
W/SyncService( 9583): 	at android.database.sqlite.SQLiteStatement.releaseAndUnlock(SQLiteStatement.java:273)
W/SyncService( 9583): 	at android.database.sqlite.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:96)
W/SyncService( 9583): 	at android.database.sqlite.SQLiteDatabase.updateWithOnConflict(SQLiteDatabase.java:1810)
W/SyncService( 9583): 	at android.database.sqlite.SQLiteDatabase.update(SQLiteDatabase.java:1761)
W/SyncService( 9583): 	at org.mozilla.labs.Soup.provider.AppsProvider.update(AppsProvider.java:272)
W/SyncService( 9583): 	at android.content.ContentProvider$Transport.update(ContentProvider.java:219)
W/SyncService( 9583): 	at android.content.ContentResolver.update(ContentResolver.java:855)
W/SyncService( 9583): 	at org.mozilla.labs.Soup.service.SyncService.onHandleIntent(SyncService.java:249)
W/SyncService( 9583): 	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
W/SyncService( 9583): 	at android.os.Handler.dispatchMessage(Handler.java:99)
W/SyncService( 9583): 	at android.os.Looper.loop(Looper.java:137)
W/SyncService( 9583): 	at android.os.HandlerThread.run(HandlerThread.java:60)
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.