sbglasius opened a new pull request, #16380: URL: https://github.com/apache/grails-core/pull/16380
## Summary Backport of #16379 to `7.0.x`. - The Grails Forge and `web` application profile `error.gsp` templates still looked up the pre-Jakarta EE attribute `javax.servlet.error.exception`. Since 7.0.x already targets Jakarta EE (`jakarta.servlet-api`), 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. Reported on the mailing list; tracked in #16378. ## Test plan - [x] `./gradlew :grails-forge-core:test --tests "org.grails.forge.feature.view.GrailsGspSpec"` — all 10 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]
