https://grails.org/ logo
Join Slack
Powered by
# questions
  • t

    Tracy Logan

    09/21/2026, 9:55 PM
    Should I really ask migration questions (Grails 5 => Grails 7) " on lists.apache.org/list.html?… and paste the link here" as suggested in this channel's Topic? That list seems very quiet, and more focused on the development of Grails (thanks, you wonderful people!), not my basic/beginner questions #C6NJV8RCG seems like the right place to ask migration questions, which I tried without success, quite possibly because no one wants to spend time dealing with that stuff 😆 Anyone have a better suggestion for where I can find help migrating -- ideally, a community of other people who've already gone through the pains of migration and documented some of the fixes/issues/etc they ran into?
    j
    g
    +3
    • 6
    • 15
  • s

    sbglasius

    09/22/2026, 6:57 AM
    @Tracy Logan I don't think many people are aware of #C6NJV8RCG so asking here is probably better. The
    <mailto:user@grails.apache.org|user@grails.apache.org>
    is for user questions, where as
    <mailto:dev@grails.apache.org|dev@grails.apache.org>
    is focused on Grails development. If you post your
    <mailto:user@grails.apache.org|user@grails.apache.org>
    you actually help promoting that list and migrating the questions of Slack
    🙌 1
    t
    • 2
    • 3
  • d

    Dave

    09/25/2026, 4:39 PM
    Hi — is there a milestone release planned for grails-web-console 8.0.x? I’m running Grails 8.0.0-M6, and console 7.1.0 fails on
    /console
    because it uses the removed Metadata accessor (
    app.grails.version
    ). I noticed the fix is already on 8.0.x and #27 mentions releasing a milestone. Is anything blocking that, or is there a published snapshot we can try? Happy to test it against our application.
    s
    s
    • 3
    • 10
  • r

    retokiefer

    09/30/2026, 7:57 AM
    Dear all, the IntelliJ Grails Plugin has on my machine problems. I installed an own build from apache-grails-intellij-plugin-262.0.1 and everything worked like charm. After upgrading the plugin to its release version, the plugin doesn't work any longer. Even after reinstalling my own build, it doesn't work any longer. Can someone provide help? Or point me to the direction where I can analyse teh problem on my own? The plugin is one of the thinhs I would like to contribute most. Thanks in advance, Reto
  • r

    retokiefer

    09/30/2026, 9:56 AM
    Same with latest Snapshot Build
  • s

    sbglasius

    09/30/2026, 10:28 AM
    I cannot help, but I can tell you, that it works here. There is a list of required modules that needs to be enabled, perhaps one of those are missing?
  • j

    jdaugherty

    09/30/2026, 10:47 AM
    @retokiefer can you take a look at your logs and see if there is an error?
  • r

    retokiefer

    09/30/2026, 11:12 AM
    Thanks to you both. I think I have all dependencies installed. In the Logfile there is no error. Neither while deinstalling and reinstalling the plugin nor during grails project opening. The Grails new project wizard works, but no Grails View, Action buttons for Controller, Views etc. And GSP support seems to be missing as well.
  • j

    jdaugherty

    09/30/2026, 11:51 AM
    it must not be detecting your project; is it a multiproject build?
  • j

    jdaugherty

    09/30/2026, 11:52 AM
    also, it only takes effect when gradle syncs - is the gradle sync working?
  • r

    retokiefer

    09/30/2026, 12:17 PM
    No it is a single project build. I'll check the gradle sync - thanks for your suggestions!
  • r

    retokiefer

    09/30/2026, 4:07 PM
    One addition, that is propably related to the plugin: If I create a run Configurations i got the error: Run Configuration Error: Grails application is not selected Maybe the project I am working on is broken...?
  • r

    retokiefer

    09/30/2026, 4:07 PM
    I even uninstalled IntelliJ and deleted the plugin folder - same as before.
  • j

    jdaugherty

    09/30/2026, 4:30 PM
    if you use the gradle project window and click refresh, does it sync hte project?
  • r

    retokiefer

    09/30/2026, 5:22 PM
    Thanks @jdaugherty that hint was very helpful: Summary • Gradle sync failed because the Grails IntelliJ plugin calls implementation.copy(Spec), which Gradle 9 rejects on a declarable configuration. • implementation is now replaced by a resolvable configuration of the same name before that plugin hook runs. Changes • In build.gradle, the original implementation object stays on the compile/runtime classpaths. • Name lookup returns a resolvable copy, so the IDE plugin can copy and resolve it. It is running again - thanks indeed! 🙂 I really would like to contribute to the plugin. If you have documentation or sometime halve an hour free time, I really would like to start with working on the IntelliJ plugin. Best, Reto
    🙌 1
    j
    • 2
    • 8
  • g

    gene

    10/07/2026, 9:51 PM
    Not a question--just a heartfelt thank you to the Grails team for the 8.0.0 release! This is a huge and important milestone, and we really appreciate all the work that went into it.
    ❤️ 3
  • s

    sbglasius

    10/08/2026, 7:39 AM
    A blog-post about all the goodies in Grails 8 is pending review, and will be published very soon!
    👀 2
    🚀 4
  • r

    rss

    10/08/2026, 12:14 PM
    how to Handle the Date API grails legacy to grails 6 migration 1. Binding: configure dateFormats Grails binds dates only with the formats it knows. If your forms send dd/MM/yyyy, list it explicitly (this replaces the defaults, so re-add any ISO format you need): grails: databinding: dateFormats: - 'dd/MM/yyyy' - 'dd/MM/yyyy HH:mm' - 'yyyy-MM-dd' - "yyyy-MM-dd'T'HHmmss.SSSX" convertEmptyStringsToNull: true For one odd field use @BindingFormat('dd/MM/yyyy') on a command-object property. params.date('x', 'dd/MM/yyyy')...
  • h

    Henrique Lobo Weissmann

    10/08/2026, 2:29 PM
    This Grails 8 release is amazing! I don't remember a release which felt so important since Grails 2 was released. Thank you Grails team!
    🎉 7
    👍🏻 1
    👍🏼 1
    👍 1
    g
    j
    j
    • 4
    • 7
  • g

    gsandrew

    10/08/2026, 7:52 PM
    is the Criteria library retired in Grails 8? (we use it heavily/exclusively almost)
    g
    j
    • 3
    • 4
  • h

    Henrique Lobo Weissmann

    10/08/2026, 8:10 PM
    Grails asdf plugin is working again! We just tried here. Some months ago I talked to Weibe Moura, the author of the Grails asdf plugin about the problems it had downloading and using Grails. If you dont know asdf, here is the website: asdf-vm.com Just tried here again, and it's working. This is great news for everyone which uses asdf as the main tool as runtime version manager instead of sdk (asdf deals with other ecosystems beyond the JVM (I use it a lot for Node, Go, Rust, Java, PHP and many, many other things. To use is really simple: asdf plugin add grails Than asdf install grails [version] - asdf install grails 8.0.0 asdf set grails [version] - asdf set grails 8.0.0 And it's done.
    👍 2
  • h

    Henrique Lobo Weissmann

    10/08/2026, 8:10 PM
    The Grails asdf plugin repository - github.com/weibemoura/asdf-grails.git
  • h

    Henrique Lobo Weissmann

    10/13/2026, 12:44 PM
    A common questioning I'm receiving when telling people about the new edition of my book (about Groovy and Grails): "what is the relevance of Groovy and Grails on this new AI world?" I think this is a hard question: why would anyone choose Groovy and Grails instead of Spring Boot on this new reality? In a world in which you have techniques like Spec Driven Development (could we call this "cascade 2.0"? 🙂 ) where we can rewrite a system in other languages and frameworks, how to compete? How to answer these questions?
    👍 1
    g
    s
    +5
    • 8
    • 55
  • g

    giangio

    10/14/2026, 9:10 AM
    Hi folks, this was working in Grails 6, it's not working anymore in Grails 8 , i get this exception: java.lang.IllegalArgumentException: Invalid sort property Sort:
    Copy code
    fetchParams.sort = [
        'date'               : 'asc',
        'individual.lastname': 'asc',      // <- This is not working anymore
    ]
    used in:
    Copy code
    List<TWorkLog> listAll(Map filterParams = [:], Map fetchParams = [:]) {
        if (!fetchParams.sort) fetchParams.sort = [dateTimeStart: 'asc']
        if (!fetchParams.fetch) fetchParams.fetch = fetch
    
        def query = buildQuery(filterParams)
        return query.list(fetchParams)
    }
    With a where query:
    Copy code
    @CompileDynamic
    private DetachedCriteria<TWorkLog> buildQuery(Map filterParams) {
        def query = TWorkLog.where {}
    
        ...
    
        return query
    }
    Reading the documentation I am supposed to create an alias for the association, something like
    def sortIndividual = individual
    and then sorting on that. Since we have an automation in table headers that automatically sort columns based on their names, I was wondering if there is a way to revert to the old behaviour
  • g

    giangio

    10/14/2026, 9:11 AM
    BTW: The old way was much more intuitive for an end user
  • g

    giangio

    10/14/2026, 9:12 AM
    Like sorting is something basic that should not require "workarounds"
  • g

    giangio

    10/14/2026, 10:15 AM
    Okay, I don't want to sound alarming, but we have built a whole system on that feature. At the moment we are unable to sort recordsets by column properties. The following is not working on Grails 8, adding the alias to the where query:
    Copy code
    def query = TWorkLog.where {
        def individualSort = individual
    }
    
    // Adding other fragments to the query...
    Then sorting with the following:
    Copy code
    fetchParams.sort = [
        'date'                   : 'asc',
        'individualSort.lastname': 'asc',      // <- This is not working anymore
    ]
    throws:
    Copy code
    java.lang.IllegalArgumentException: Invalid sort property
  • g

    giangio

    10/14/2026, 10:37 AM
    ATTENTION PLEASE Forget about that issue. It works. And I need rest.
    😄 2
  • g

    gene

    10/14/2026, 1:17 PM
    “What issue?”
    😁 1
  • g

    giangio

    10/14/2026, 1:34 PM
    In the end I have an issue (apart from the evident personal one) with where queries and sort, but I'll take my time to write it down properly
    g
    • 2
    • 2