I've encountered a bug in the code Grails supprt: when you're in a controller, and type something like 'params.id', there's an underlne for the 'id' part, to add it to the list of dymanic properties. When you try to add it to the list of dynaic properties (alt+enter), nothing happens, and the 'id' part of the params is still not recognized, causing a lot of unnessary warnings in other pieces of the code. For example, my code looks like this:
def recipeInstance = Recipe.find("from Recipe r where r.id = ?", params.id)
Which also gives a warning:
'find' cannot be applied to (java.lang.String, null)
Can this be fixed please?