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

QSort.iterator() doesn't return correct Order's

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.9 RC1 (Evans), 1.8.4 (Dijkstra SR4), 1.9.1 (Evans SR1)
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      The Iterator returned by QSort.iterator() returns Order that only contain the last property segment regardless what the property path was.

      E.g.:

      new QSort(person.address.street.desc()).iterator().next()
      

      returns

      street DESC
      

      instead of:

      address.street DESC
      

        Attachments

          Activity

            People

            Assignee:
            thomasd Thomas Darimont
            Reporter:
            thomasd Thomas Darimont
            Last updater:
            Thomas Darimont
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: