grails-core icon indicating copy to clipboard operation
grails-core copied to clipboard

Layout By Convention not working in Grails 7

Open matrei opened this issue 1 year ago • 4 comments

When adding <meta name="layout" content="layoutByConvention"/> the layout is applied.

But when using the layout by convention method, the layout is not applied.

See example project with tests: https://github.com/matrei/sitemesh-bug-layout-by-convention

matrei avatar Nov 18 '24 11:11 matrei

These really have nothing to do with the plugin. These "bugs" are related to internal design in Grails.

https://github.com/grails/grails-core/pull/13908

codeconsole avatar Dec 05 '24 02:12 codeconsole

"bugs"

The functionality of Sitemesh in Grails has changed unexpectedly, hence the word bugs.

matrei avatar Dec 05 '24 12:12 matrei

https://github.com/codeconsole/grails-plugin-sitemesh3/issues/3 is the only remaining issue, I changed the title so after releasing the M1 people can find this issue.

jdaugherty avatar Dec 23 '24 17:12 jdaugherty

I modified the original ticket description so people are aware of this.

jdaugherty avatar Jan 28 '25 22:01 jdaugherty

https://github.com/apache/grails-core/pull/14875

jdaugherty avatar Jul 06 '25 21:07 jdaugherty