Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

No such property: config after auto-reaload #13

Closed
szwl opened this Issue Dec 2, 2012 · 1 comment

Comments

Projects
None yet
2 participants

szwl commented Dec 2, 2012

Config is not injected again when job artifact changes.

How to reproduce:
class ConfigTriggerJob{

def concurrent = false  

def getTriggers(){
    return config.grails.plugin.xyz.someTriggerConfig
}

def execute() {
    //do something
}

}

Run grails run-app.
Change anything ie. execute method body.
Get 2012-12-02 15:47:00,706 [FileSystemWatcher: files=#957 cl=java.net.URLClassLoader@b5623d0] WARN commons.ClassPropertyFetcher - Error fetching property's triggers value from class ConfigTriggerJob

Caused by MissingPropertyException: No such property: config for class: ConfigTriggerJob

Owner

basejump commented Jan 25, 2013

fixed in new 2.1.6.1 plugin release

@basejump basejump closed this Jan 25, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment