Closed
Description
Graeme Rocher opened SPR-10342 and commented
Due to 3643d92
Which was part of the fix for #14659
We are no longer able to use our own WebRequest implementation that extends from ServletRequestAttributes because Spring always overrides it with its own implementation. This has broken various things in Grails' request processing chain.
I have implemented a workaround in Grails that uses delegation instead of subclassing of ServletRequestAttributes, but this may be a breaking change for Grails users, so I'm not sure if it is ideal.
The issue is compounded by the fact there is no way to change this behavior because the method in FrameworkServlet is final
Affects: 3.2 GA, 3.2.1
Issue Links:
- Should call getNativeResponse() instead of getNativeRequest() in FrameworkServlet [SPR-15867] #20422 Should call getNativeResponse() instead of getNativeRequest() in FrameworkServlet
0 votes, 6 watchers