-
-
Notifications
You must be signed in to change notification settings - Fork 968
GRAILS-11471: Don't try to resolve "*.all.gsp" #503
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
Conversation
|
Hi Craig Andrews, Here you are comparing String with a char type (String format == 'all' or "" with '') in a java file. ("" == '') in java files works? |
|
@jonatasemidio you're absolutely right. I fixed that. |
|
Sorry, I submitted this PR while still waiting for the Grails build to run. It takes a while to download all that stuff and run it, and I didn't want to forget to submit this. Thanks again for noticing my mistake, @jonatasemidio. |
|
I think this may be a breaking change for anyone who is rendering a file named |
|
@jeffbrown I don't think so. The change I've proposed just checks the format to see if it's "all" - it doesn't look at the actual file name being render. In other words, if a controller calls "render(view:'index.all.gsp')" that will work before and after this change. |
|
I do not think that |
|
@jeffbrown that's right. But, it didn't render index.all.gsp before Grails 2.3, and as far as I can tell, *.all.gsp is not documented anywhere, so I don't think that was an intentional change. |
|
I don't think that I don't think this is a giant deal, just clarifying whether or not is a breaking change in the way that I questioned. |
|
One other question. When the format is |
|
@jeffbrown yes, it would. Doesn't seem ideal... But doesn't cause a problem either. It could be optimized I think - if you'd like, I could update this PR accordingly. |
GRAILS-11471: Don't try to resolve "*.all.gsp"
* Update example projects * Add empty directory `src/integration-test/groovy/` --------- Co-authored-by: Puneet Behl <behlp@objectcomputing.com>
…ncies exclude org.graalvm dependencies from the deployable war/jar
…xclude Revert "Merge pull request apache#503 from grails/exclude-org.graalvm-dependencies
See https://jira.grails.org/browse/GRAILS-11471