The GitHub Actions job "SiteMesh 2 Compatibility" on 
grails-core.git/fix/scaffold-count-type-8.0.x has failed.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
8fa9782a70f547e6d9762a11a3e573f39e3cfdf3 / Scott Murphy Heiberg 
<[email protected]>
Fix welcome page failing to compile under GSP static compilation

Enabling static GSP compilation in a generated app:

    grails {
        compileStatic {
            all = true
            gsp = true
        }
    }

made compileGroovyPages fail on the welcome page. Four sort closures took
untyped parameters, so static type checking inferred java.lang.Object for
the element and rejected the property and method calls on it:

    Cannot find matching method java.lang.Object#toLowerCase()
    No such property: name for class: java.lang.Object

Type the closure parameters, and convert the values whose static type is
Object rather than String. The plugin and mime type comparisons need the
concrete element type, so those are cast; grails.plugins.GrailsPlugin is
referenced by its qualified name because GSP already auto-imports the
unrelated grails.plugins.metadata.GrailsPlugin annotation.

The forge resource and the web profile skeleton carry byte-identical
copies of this page, so both are updated.

Report URL: https://github.com/apache/grails-core/actions/runs/34157819667

With regards,
GitHub Actions via GitBox

Reply via email to