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 1E3AAD592 for ; Tue, 18 Dec 2012 15:50:15 +0000 (UTC) Received: (qmail 37645 invoked by uid 500); 18 Dec 2012 15:50:14 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 37521 invoked by uid 500); 18 Dec 2012 15:50:14 -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 37454 invoked by uid 500); 18 Dec 2012 15:50:13 -0000 Delivered-To: apmail-incubator-callback-dev@incubator.apache.org Received: (qmail 37433 invoked by uid 99); 18 Dec 2012 15:50:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2012 15:50:12 +0000 Date: Tue, 18 Dec 2012 15:50:12 +0000 (UTC) From: "Ismael Olusola Jimoh (JIRA)" To: callback-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 Ismael Olusola Jimoh created CB-2085: ---------------------------------------- Summary: Database Deleted when I open childbrowser Key: CB-2085 URL: https://issues.apache.org/jira/browse/CB-2085 Project: Apache Cordova Issue Type: Bug Affects Versions: 2.2.0, 2.1.0 Environment: Android, Phonegap, Reporter: Ismael Olusola Jimoh 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