Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DF81BD37C for ; Thu, 3 Jan 2013 18:18:14 +0000 (UTC) Received: (qmail 75834 invoked by uid 500); 3 Jan 2013 18:18:13 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 75795 invoked by uid 500); 3 Jan 2013 18:18:13 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 75712 invoked by uid 500); 3 Jan 2013 18:18:13 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 75694 invoked by uid 99); 3 Jan 2013 18:18:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2013 18:18:13 +0000 Date: Thu, 3 Jan 2013 18:18:13 +0000 (UTC) From: "Joe Bowser (JIRA)" To: callback-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-2085) Database Deleted when I open childbrowser MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-2085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543148#comment-13543148 ] Joe Bowser commented on CB-2085: -------------------------------- Able to reproduce the issue now. It appears that ChildBrowser is using the same database paths as Cordova. It's too late to add to 2.3.0, and this will be going in 2.4.0 > Database Deleted when I open childbrowser > ----------------------------------------- > > Key: CB-2085 > URL: https://issues.apache.org/jira/browse/CB-2085 > Project: Apache Cordova > Issue Type: Bug > Components: Android > Affects Versions: 2.1.0, 2.2.0 > Environment: Android, Phonegap, > Reporter: Ismael Olusola Jimoh > Assignee: Joe Bowser > Fix For: 2.4.0 > > Attachments: 2013-01-03-15-56-57-152.png, 2013-01-03-15-57-03-482.png, 2013-01-03-15-57-10-684.png, 2013-01-03-15-57-20-843.png, 2013-01-03-15-57-30-553.png, 2013-01-03-15-57-40-449.png, 2013-01-03-15-57-54-341.png, 2013-01-03-15-58-23-263.png, 2013-01-03-15-58-30-526.png, 2013-01-03-15-58-37-306.png, 2013-01-03-15-58-51-725.png, 2013-01-03-15-58-59-568.png, Phonegap2_3_Test.rar > > > Created an app where on the first page, user creates and enters values into a table, upon success, he is sent to a second page which Contains a link to Google using Childbrowser as well as a button to show content of database. > If user clicks button to show content of database immediately he gets to page 2, the result is as expected but if he should click button to childbrowser, when he closes and clicks the result button, it states table does not exist returning *Error: Undefined* > However, if user goes back to page one and recreates the whole table as well as enter the values, then clicks childbrowser, return and click return button, it starts working. > All subsequent visits also work provided you do not clear data/cache. > Below is a code that can be used to reproduce this: > ----------------------------------------------------------------------------Main.html (Page1) > ---------------------------------------------------------------------------- > > > > > > > > > > > > > > > >

Hello DB

> > > > ---------------------------------------------------------------------------- > ---------------------------------------------------------------------------- > Index1.html(page2) > ---------------------------------------------------------------------------- > > > > > > > > > > > > > > > >

Hello ChildBrowser

> >
> > > > ---------------------------------------------------------------------------- > I have tested this on Phonegap 2.1 and 2.2. > I have also tested this on Android 4.0, 4.2 and been able to reproduce on both. > Thanks, I look forward to your quick response. > Ismael O. Jimoh -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira