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
In Grails5, i can hot change (while grails running) i18n properties files and it will take effect after grails re complies.
Actual Behaviour
Grails 7 throws exception.
2024-09-22T08:09:43.761-04:00 ERROR 3873 --- [ Thread-3] o.g.plugins.AbstractGrailsPluginManager : Plugin [i18n:7.0.0-SNAPSHOT] could not reload changes to file [/.../grails-website-test/grails-app/i18n/messages.properties]: No such property: canonicalFile for class: java.lang.Boolean
groovy.lang.MissingPropertyException: No such property: canonicalFile for class: java.lang.Boolean
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:67)
at org.codehaus.groovy.vmplugin.v8.IndyGuardsFiltersAndSignatures.unwrap(IndyGuardsFiltersAndSignatures.java:163)
at org.codehaus.groovy.vmplugin.v8.IndyInterface.fromCache(IndyInterface.java:321)
at org.grails.plugins.i18n.I18nGrailsPlugin.onChange(I18nGrailsPlugin.groovy:84)
at org.grails.plugins.DefaultGrailsPlugin.notifyOfEvent(DefaultGrailsPlugin.java:747)
at org.grails.plugins.AbstractGrailsPluginManager.informOfClassChange(AbstractGrailsPluginManager.java:528)
at org.grails.plugins.AbstractGrailsPluginManager.informOfFileChange(AbstractGrailsPluginManager.java:471)
at grails.boot.GrailsApp$3.onChange(GrailsApp.groovy:397)
at org.grails.io.watch.AbstractDirectoryWatcher.fireOnChange(AbstractDirectoryWatcher.java:76)
at org.grails.io.watch.WatchServiceDirectoryWatcher.run(WatchServiceDirectoryWatcher.java:116)
at org.grails.io.watch.DirectoryWatcher.run(DirectoryWatcher.java:184)
Expected Behavior
In Grails5, i can hot change (while grails running) i18n properties files and it will take effect after grails re complies.
Actual Behaviour
Grails 7 throws exception.
Steps To Reproduce
1- start grails 7
2- change anything in i18n properties file
Environment Information
Example Application
No response
Version
grails=7.0.0-SNAPSHOT
The text was updated successfully, but these errors were encountered: