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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • None
    • None
    • 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

        1. OPENJPA-1830.diff
          3 kB
          Donald Woods

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: