The GitHub Actions job "CI" on grails-core.git/perf/request-path-8.0.x has 
failed.
Run started by GitHub user codeconsole (triggered by codeconsole).

Head commit for run:
1b758d9d54f7fa0b6805693c3e57203174d42118 / Scott Murphy Heiberg 
<[email protected]>
Restore the locale context on include and forward dispatches too

The filter sets the locale from the request unconditionally, but restored the
previous LocaleContext only on the outermost dispatch. An include or forward
therefore left the enclosing request with the locale it had installed, and 
replaced
any TimeZoneAwareLocaleContext with a plain SimpleLocaleContext for the 
remainder
of that request.

The restore now happens on every invocation, matching the unconditional set. 
Only
the GrailsWebRequest handling stays branched, since an include restores the 
previous
web request rather than clearing it.

This filter had no test coverage; adds one, including a case that fails without 
the
change.

Report URL: https://github.com/apache/grails-core/actions/runs/31858571463

With regards,
GitHub Actions via GitBox

Reply via email to