OpenJPA
  1. OpenJPA
  2. OPENJPA-1830

Deserialization of EMF causes connectionPassword to be overwritten with Value.INVISIBLE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      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.

        Issue Links

          Activity

          Michael Dick made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Donald Woods made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Donald Woods made changes -
          Attachment OPENJPA-1830.diff [ 12456886 ]
          Donald Woods made changes -
          Field Original Value New Value
          Link This issue blocks OPENJPA-1764 [ OPENJPA-1764 ]
          Donald Woods created issue -

            People

            • Assignee:
              Donald Woods
              Reporter:
              Donald Woods
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development