Uploaded image for project: 'Spring Data GemFire'
  1. Spring Data GemFire
  2. SGF-247

boolean based repository queries generate UnsupportedOperationException in non PDX serialized entities

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.1, 1.3.2, 1.3.3
    • Fix Version/s: 1.3.3, 1.4 M1 (Dijkstra)
    • Labels:
      None

      Description

      Without using PDX serialization, boolean based queries throw on unsupported operation out of Predicates.getOperator. The type:Type parameter to the method comes in as TRUE or FALSE, however neither of these are supported in the getOperator method.

      I have attached a patch file that I believe corrects the issue completely as well as a test project to replicate the issue.

      Exact error messages are:

        Attachments

        1. Predicates.patch
          1 kB
        2. repositoryQueries.xml
          1 kB
        3. RepositoryQueriesTest.java
          4 kB
        4. sd-gemfire-bug.zip
          94 kB
        5. User.java
          2 kB
        6. UserRepository.java
          1 kB

          Activity

            People

            • Assignee:
              jblum John Blum
              Reporter:
              frankmoley Frank Moley
              Last updater:
              Trevor Marshall
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: