Grails
  1. Grails
  2. GRAILS-8352

Projections not working with Where queries

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-RC1
    • Fix Version/s: 2.0-RC2
    • Component/s: None
    • Labels:
      None

      Description

      What it says on the tin (or more specifically in the subject line ). Take the project attached to GRAILS-8344 and modify the Author Where query in BookController.test() to read something like:

      Author.where { age > avg(age) }.property("id")
      

      The .property() doesn't seem to be working at all.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Graeme Rocher
            Reporter:
            Peter Ledbrook
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development