openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Woods (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENJPA-1830) Deserialization of EMF causes connectionPassword to be overwritten with Value.INVISIBLE
Date Mon, 11 Oct 2010 19:51:32 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-1830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Donald Woods updated OPENJPA-1830:
----------------------------------

    Attachment: OPENJPA-1830.diff

> 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
>
>         Attachments: OPENJPA-1830.diff
>
>
> 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.


Mime
View raw message