You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im doing some Grails 4.1.0.M1 testing with some of our applications and I get a lot of warnings:
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.
One such warning is generated by the ApplicationTabLib's meta tag:
/**
* Output application metadata that is loaded from application.yml and grails.build.info if it is present.
*
* @emptyTag
*
* @attr name REQUIRED the metadata key
*/
Closure meta = { attrs ->
if (!attrs.name) {
throwTagError('Tag ["meta"] missing required attribute ["name"]')
}
return Metadata.current[attrs.name]
}
The Metadata.current[attrs.name] seems to trigger the warning, as Metadata extends NavigableMap.
The text was updated successfully, but these errors were encountered:
Im doing some Grails 4.1.0.M1 testing with some of our applications and I get a lot of warnings:
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.
One such warning is generated by the
ApplicationTabLib
'smeta
tag:The
Metadata.current[attrs.name]
seems to trigger the warning, asMetadata extends NavigableMap
.The text was updated successfully, but these errors were encountered: