You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Donald Woods (JIRA)" <ji...@apache.org> on 2010/10/11 20:07:32 UTC

[jira] Created: (OPENJPA-1830) Deserialization of EMF causes connectionPassword to be overwritten with Value.INVISIBLE

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.


[jira] Resolved: (OPENJPA-1830) Deserialization of EMF causes connectionPassword to be overwritten with Value.INVISIBLE

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods resolved OPENJPA-1830.
-----------------------------------

    Resolution: Fixed

will no longer override string values with Value.INVISIBLE of "******".


> 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.


[jira] Updated: (OPENJPA-1830) Deserialization of EMF causes connectionPassword to be overwritten with Value.INVISIBLE

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ 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.