From dev-return-17559-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Mon Oct 11 18:07:56 2010 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 78259 invoked from network); 11 Oct 2010 18:07:56 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Oct 2010 18:07:56 -0000 Received: (qmail 67250 invoked by uid 500); 11 Oct 2010 18:07:56 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 67201 invoked by uid 500); 11 Oct 2010 18:07:56 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 67193 invoked by uid 99); 11 Oct 2010 18:07:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Oct 2010 18:07:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Oct 2010 18:07:54 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9BI7Whp004828 for ; Mon, 11 Oct 2010 18:07:33 GMT Message-ID: <20570467.80311286820452779.JavaMail.jira@thor> Date: Mon, 11 Oct 2010 14:07:32 -0400 (EDT) From: "Donald Woods (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Created: (OPENJPA-1830) Deserialization of EMF causes connectionPassword to be overwritten with Value.INVISIBLE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Deserialization of EMF causes connectionPassword to be overwritten with Value.INVISIBLE --------------------------------------------------------------------------------------- Key: OPENJPA-1830 URL: https://issues.apache.org/jira/browse/OPENJPA-1830 Project: OpenJPA Issue Type: Bug Affects Versions: 2.0.0 Reporter: Donald Woods Assignee: Donald Woods Fix For: 2.1.0 ConfigurationImpl.writeExternal() serializes out the toProperties() and Map _props, which both contain the connectionPassword. When readExternal() deserializes, the StringValue of connectionPassword gets its value set twice, which causes Value.INVISIBLE to get set as the value, which never happens if the EMF is never serialized. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.