sbglasius opened a new pull request, #16379: URL: https://github.com/apache/grails-core/pull/16379
## Summary - The Grails Forge and `web` application profile `error.gsp` templates still looked up the pre-Jakarta EE attribute `javax.servlet.error.exception`, so on Grails 8 (Jakarta EE 10) the lookup never matched and the branch that renders exception details in development mode never fired. - Changed both templates to use `jakarta.servlet.error.exception` (`jakarta.servlet.RequestDispatcher.ERROR_EXCEPTION`), matching the container-set attribute name. - Added a test asserting the generated error page uses the jakarta attribute, and added `error.gsp` to the existing forge/profile-skeleton byte-identity check so the two templates can't silently drift again. Reported on the mailing list; tracked in #16378. ## Test plan - [x] `./gradlew :grails-forge-core:test --tests "org.grails.forge.feature.view.GrailsGspSpec"` — all 21 tests pass -- 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]
