Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.2 final
-
Component/s: Configuration
-
Labels:None
Description
Hello,
I a am trying to use Property Override Configuration as described in chapter 14.6. I have a service like this :
class MyService {
File submitDirectory
....
}
In Config.groovy, I put the following lines :
beans {
myService
}
This works: the String is correctly assigned as the File property in MyService. But in development mode, as soon as I modify MyService the submitDirectory field becomes null. It is as if the reload did not apply property overrides...
Julien
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
1.3.x: http://github.com/grails/grails-core/commit/d8f80e472847fafd45346077ea936f0481e00e01
1.2.x: http://github.com/grails/grails-core/commit/aae90eaa9d35c22db803e01bb4c898b21c17d8a2