Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1830

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: