-
-
Notifications
You must be signed in to change notification settings - Fork 968
Issues 15132 #15227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues 15132 #15227
Conversation
|
@matrei I would like a second pair of eyes on this. Thank you. |
|
@sbglasius, Thank you for the approval. Are you OK with the revert on previous fix (7875fe4) ? I think it was a misuse of the redirection with |
|
So it looks like #11673 is what introduced this behavior. That code however added tests that have not been run against this PR yet. I've gone ahead and approved the test run to see if they pass. |
|
@Noirtam I don't think we should remove the existing test. It was put there to test another scenario. |
|
@matrei I may not have understood the previous issue. |
I need more time to test this in different scenarios
|
@jdaugherty here's what I did to test: Checked out https://github.com/Noirtam/grails-core/tree/issues_15132 and build according to INSTALL Added to Created two controllers: and First I ran the application with Secondly I build Again I did the same test, and everything worked Finally I stopped tomcat, removed Now I hit For extra testing I build and secondly with a different context-path: Also both worked as expected. My conclusion is, that the patch works as expected in all scenarios |
sbglasius
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thorough testing concludes that this change works as expected.
|
@Noirtam CodeNarc violation needs to be fixed https://github.com/apache/grails-core/actions/runs/19503564581/job/55829552407?pr=15227#step:6:1942 |
|
Once codenarc is fixed, we can merge |
|
@Noirtam Can you please update your PR to adhere to our code style? You can run |
|
I've moved this to 7.0.4 with the hope that the code style is updated for that release. We'll likely release 7.0.4 soon after 7.0.3 due to the spring boot update that's due tomorrow. |
|
@sbglasius Thank you for fixing the whitespace issue. |
Remove add contextPath
linkGenerator.contextPathbut fail to test Issue #11673