gsartori opened a new issue, #15075: URL: https://github.com/apache/grails-core/issues/15075
### Expected Behavior I have a case where the 'init' closure gets called twice (see "Steps to reproduce"). The init closure should be called only once. ### Actual Behaviour The init closure is called twice. I suspect there is something weird with the project layout but have no idea what's going on. It happens only in the Dueuno Elements 'app-test' application, it does not happen on the other applications we implemented using "dueuno-elements" as a compiled dependency. I've tried to debug the Grails code with no luck, it looks like there is something going on in the DefaultGrailsBootstrapClass.callInit() that triggers the init twice. ### Steps To Reproduce 1. get: https://github.com/gsartori/dueuno-elements/tree/feature/grails-7 2. Set a breakpoint in 'app-test/grails-app/init/BootStrap' at line 50 3. bootRun app-test (debug) ### Environment Information grailsVersion | 7.0.0-RC2 groovyVersion | 4.0.28 serverVersion | Apache Tomcat/10.1.44 jvmVersion | 17.0.11 JetBrains s.r.o. osVersion | Mac OS X 15.6.1 (aarch64) ### Example Application https://github.com/gsartori/dueuno-elements/tree/feature/grails-7 ### Version 7.0.0-RC2 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
