Skip to content
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

Merged
merged 276 commits into from
Jan 9, 2025
Merged

Conversation

jdaugherty
Copy link
Contributor

#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.

bobbywarner and others added 30 commits June 14, 2011 08:55
…XML elements when creating new data with a POST"
…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.
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"

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.
Conflicts:
	grails-bootstrap/src/test/groovy/org/codehaus/groovy/grails/resolve/PluginResolveEngineSpec.groovy
… the same as Domain classes found in domain folder"
guillermocalvo and others added 19 commits April 15, 2024 11:10
- 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>
@CLAassistant
Copy link

CLAassistant commented Jan 9, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
6 out of 10 committers have signed the CLA.

✅ davydotcom
✅ puneetbehl
✅ jamesfredley
✅ jdaugherty
✅ guillermocalvo
✅ matrei
❌ graemerocher
❌ bobbywarner
❌ aulea
❌ humberthardy
You have signed the CLA already but the status is still pending? Let us recheck it.

@jdaugherty jdaugherty changed the title Converters repo merge #13552 Converters repo merge Jan 9, 2025
grails-plugin-converters/build.gradle Outdated Show resolved Hide resolved
grails-plugin-converters/build.gradle Outdated Show resolved Hide resolved
grails-plugin-converters/build.gradle Show resolved Hide resolved
grails-plugin-converters/build.gradle Outdated Show resolved Hide resolved
grails-plugin-converters/build.gradle Show resolved Hide resolved
gradle.properties Outdated Show resolved Hide resolved
grails-plugin-converters/build.gradle Show resolved Hide resolved
grails-plugin-converters/build.gradle Outdated Show resolved Hide resolved
grails-plugin-converters/build.gradle Outdated Show resolved Hide resolved
@jdaugherty jdaugherty merged commit 162eba5 into grails:7.0.x Jan 9, 2025
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.