OpenJPA
  1. OpenJPA
  2. OPENJPA-830

org.apache.openjpa.lib.util.ParseException when getting property descriptors

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      OpenJPA test case fails and is disabled until code is fixed.

      Description

      When the changes made for OpenJPA-824 were merged to trunk, additional missing property descriptors were discovered. Until these are added to the appropriate localizer.properties file(s), the test fails with the following message.

      testBeanAccessors(org.apache.openjpa.persistence.conf.TestOpenJPAConfiguration) Time elapsed: 0.078 sec <<< ERROR!
      org.apache.openjpa.lib.util.ParseException: Errors occurred while creating property descriptors for the following properties: [RefreshFromDataCache, InitializeEagerly, jdbc.QuerySQLCache].
      at org.apache.openjpa.lib.conf.ConfigurationImpl.getPropertyDescriptors(ConfigurationImpl.java:446)
      at org.apache.openjpa.persistence.conf.TestOpenJPAConfiguration.testBeanAccessors(TestOpenJPAConfiguration.java:128)

      For this reason, the test (TestOpenJPAConfiguration) remains disabled in openjpa-persistence-jdbc/pom.xml.

        Issue Links

          Activity

          David Ezzio created issue -
          David Ezzio made changes -
          Field Original Value New Value
          Link This issue is related to OPENJPA-824 [ OPENJPA-824 ]
          Hide
          David Ezzio added a comment -

          OpenJPA-824 was fixed in branch 1.1.x. Merge to trunk reveals additional missing property descriptors.

          Show
          David Ezzio added a comment - OpenJPA-824 was fixed in branch 1.1.x. Merge to trunk reveals additional missing property descriptors.
          David Ezzio committed 727250 (4 files)
          Reviews: none

          Merged changes 726860, 68, and 76 from branch 1.1.x. Added Cache Marshallers to descriptors, and renamed test case. Was not able to enable test case due to additional missing property descriptors in trunk. See Jira: OPENJPA-830.

            People

            • Assignee:
              Unassigned
              Reporter:
              David Ezzio
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development