Open davidkron opened 4 years ago
If you can provide a small project with an example, I'll see if I have time to debug and hopefully fix the problem. Thank you.
I created two separate example projects, one using Grails 3.3.11 and one using Grails 4.0.3: https://github.com/davidkron/grails3-fields-issue-308 https://github.com/davidkron/grails4-fields-issue-308
I created a small scaffolded UserController and did override the template /grails-app/views/templates/_fields/_table.gsp
. The content of the template can be seen in the Grails 3 application when creating a new User and then going back to the index view. In the Grails 4 example the content from my template is not displayed.
Bump. I'm having this exact issue in a Grails 5 application.
We have some application that we are trying to migrate from Grails 3 to Grails 4. The project is organized as a multi-project build, one application and some plugins. We have some "core" plugin that provides the basic templates for the fields plugin, e.g.
/grails-app/views/templates/_fields/_table.gsp
.In Grails 3.x this has worked great, but since Grails 4.x something must have changed. The templates from our core-plugin aren't loaded anymore and it always falls back to the default templates from the fields plugin.
Is there a solution or workaround to this?