Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-1593

QuerydslPredicateArgumentResolver produces null result for empty form submission

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      DATAJPA-1594 introduced nullability checks for QuerydslPredicateExecutor. In order to allow for smooth integration QuerydslPredicateArgumentResolver should be changed to return a non-null predicate all the time.

      The null value is produced in case an empty form is submitted as this does not result in an empty values map in the first place but one containing keys for all form fields but empty value arrays. In this case, QuerydslPredicateBuilder.getPredicate(…) still produces a null predicate.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              olivergierke Oliver Drotbohm
              Reporter:
              schauder Jens Schauder
              Last updater:
              Mark Paluch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: