-
-
Notifications
You must be signed in to change notification settings - Fork 953
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
#13552 Converters repo merge #13963
#13552 Converters repo merge #13963
Conversation
…ents when creating new data with a POST"
…XML elements when creating new data with a POST"
…ents when creating new data with a POST"
…aller (from JSON)"
…app/domain class with @grails.persistence.Entity. We may need to take a more holistic look at the general problem. This commit addresses a specific problematic scenario and adds some relevant tests.
…and defaults for jar names.
We need to revisit these changes as they have created problems for the build. Some artifacts would have the wrong name. For example, these changes caused grails-resources/build/libs/grails-resources-shared-files.jar to be created instead of grails-resources/build/libs/grails-shared-files.jar. This reverts commits e2b8ae2 and e0a373d.
enum.values() is an array of the enum type and Grails was doing the conversion by invoking DefaultGroovyMethods.asType(delegate, clazz) from ConverterUtil. ConverterUtil is written in Java so that call is going to asType(Object, Class) when we really want it to go to asType(Object[], Class).
The code was attempting to parse the request even if it was empty.
…s failing in Grails 2" - Make sure ValiationErrors is always used instead of BeanPropertyBindingResult - Restore mocking of errors property access - Improve error message when a domain is not correctly mocked
…s failing in Grails 2" - Make sure ValiationErrors is always used instead of BeanPropertyBindingResult - Restore mocking of errors property access - Improve error message when a domain is not correctly mocked
The code was attempting to parse the request even if it was empty.
…ng Groovy "as" operator"
…ng Groovy "as" operator" Conflicts: grails-plugin-converters/src/test/groovy/org/codehaus/groovy/grails/web/converters/ConverterUtilSpec.groovy
Removing the "fix" but leaving the tests in place. Since the resolution of GROOVY-5210 I don't think our fix is necessary.
This problem was fixed when in Groovy 1.8.5 when GROOVY-5210 was resolved.
…able to run on the build server
Conflicts: grails-bootstrap/src/test/groovy/org/codehaus/groovy/grails/resolve/PluginResolveEngineSpec.groovy
… the same as Domain classes found in domain folder"
…d relying on Gradle to do the right thing
- Update to Grails 7 - Java 17 - Groovy 4 - Jakarta Servlet - ci: Update the Github workflows - build: Add javaparse dependency to groovydoc task
* Revert "fix: Remove dependency on SpringIOUtils" This reverts commit 02f5258 * chore(cleanup): Cleanup and modernize `XML.java`
* build: Use java toolchain and test suite See: https://docs.gradle.org/8.10/userguide/upgrading_version_8.html#test_framework_implementation_dependencies * build: Migrate from `gradleEnterprise` to `develocity` 3.18 This commit updates the build configuration to replace the deprecated gradleEnterprise extension with the new develocity extension (version 3.18). This migration ensures compatibility with future updates and takes advantage of the latest features and improvements in the develocity plugin.
fix(deps): update dependency org.springframework:spring-context to v6.1.12
* Update dependencies to resolve build issue
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
|
#13552
Merges the converters repo back into core. Will open a separate ticket to remove the deprecated functionality. The main reason for this merge is to continue to support
as JSON
, etc since so many grails plugins & projects still use these technique.