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

Grails 4.1.0.M1 "Accessing config through dot notation is deprecated" #309

Closed
davidkron opened this issue Jul 6, 2020 · 1 comment
Closed
Labels
enhancement grails-5 Shold be fixed for new Grails 5 version refactoring

Comments

@davidkron
Copy link
Contributor

I'm doing some Grails 4.1.0.M1 testing and I am getting the following warning:

org.grails.config.NavigableMap: Accessing config through dot notation is deprecated, and it will be removed in a future release. Use 'config.getProperty(key, targetClass)' instead.

I think this line from the fields plugin generates a warning:
https://github.com/grails-fields-plugin/grails-fields/blob/da4ac74028896504a7bc7615edc52532bf47e854/src/main/groovy/grails/plugin/formfields/FormFieldsTemplateService.groovy#L234

@sbglasius sbglasius added enhancement grails-5 Shold be fixed for new Grails 5 version refactoring labels Feb 15, 2021
sbglasius added a commit that referenced this issue Jun 30, 2022
fix warning "Accessing config through dot notation is deprecated" (issue #309)
@sbglasius
Copy link
Member

This is fixed in the latest release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement grails-5 Shold be fixed for new Grails 5 version refactoring
Projects
None yet
Development

No branches or pull requests

2 participants