Description
Repository adds VersionCleaner and StdModifyPropertyCheck groovy scripts Runnins throws exceptions.
Steps to reproduce
- Install archetype new project
- Start project
- Go to Admin > Update Editor and run VersionsCleaner
Expected:
Script run without errors
Actual:
[INFO] [talledLocalContainer] 05.10.2017 23:40:32 ERROR pool-5-thread-1 [UpdaterExecutor.error:571] Updating /hst:hst/hst:configurations/gettingstarted failed [INFO] [talledLocalContainer] groovy.lang.MissingPropertyException: No such property: gt for class: org.hippoecm.frontend.plugins.cms.dev.updater.VersionsCleaner [INFO] [talledLocalContainer] at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53) ~[groovy-all-2.4.11.jar:2.4.11] [INFO] [talledLocalContainer] at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.callGroovyObjectGetProperty(GetEffectivePogoPropertySite.java:70) ~[groovy-all-2.4.11.jar:2.4.11] [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.cms.dev.updater.VersionsCleaner.doUpdate(updater:88) ~[?:?] [INFO] [talledLocalContainer] at org.onehippo.repository.update.UpdaterExecutor.executeUpdater(UpdaterExecutor.java:278) [hippo-repository-engine-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.repository.update.UpdaterExecutor.runQueryVisitor(UpdaterExecutor.java:224) [hippo-repository-engine-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.repository.update.UpdaterExecutor.execute(UpdaterExecutor.java:111) [hippo-repository-engine-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.repository.update.UpdaterExecutionModule$ExecuteUpdatersTask.executeUpdater(UpdaterExecutionModule.java:203) [hippo-repository-engine-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.repository.update.UpdaterExecutionModule$ExecuteUpdatersTask.executeUpdatersInQueue(UpdaterExecutionModule.java:193) [hippo-repository-engine-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.repository.update.UpdaterExecutionModule$ExecuteUpdatersTask.run(UpdaterExecutionModule.java:150) [hippo-repository-engine-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT] [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_112] [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_112] [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112] [INFO] [talledLocalContainer] 05.10.2017 23:40:32 ERROR pool-5-thread-1 [UpdaterExecutor.error:571] Updating /hippo:namespaces/hippogallery/imageset/hipposysedit:prototypes/hipposysedit:prototype failed [INFO] [talledLocalContainer] groovy.lang.MissingPropertyException: No such property: gt for class: org.hippoecm.frontend.plugins.cms.dev.updater.VersionsCleaner [INFO] [talledLocalContainer] at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:53) ~[groovy-all-2.4.11.jar:2.4.11] [INFO] [talledLocalContainer] at org.codehaus.groovy.runtime.callsite.GetEffectivePogoPropertySite.callGroovyObjectGetProperty(GetEffectivePogoPropertySite.java:70) ~[groovy-all-2.4.11.jar:2.4.11] [INFO] [talledLocalContainer] at org.hippoecm.frontend.plugins.cms.dev.updater.VersionsCleaner.doUpdate(updater:88) ~[?:?] [INFO] [talledLocalContainer] at org.onehippo.repository.update.UpdaterExecutor.executeUpdater(UpdaterExecutor.java:278) [hippo-repository-engine-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.repository.update.UpdaterExecutor.runQueryVisitor(UpdaterExecutor.java:224) [hippo-repository-engine-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.repository.update.UpdaterExecutor.execute(UpdaterExecutor.java:111) [hippo-repository-engine-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.repository.update.UpdaterExecutionModule$ExecuteUpdatersTask.executeUpdater(UpdaterExecutionModule.java:203) [hippo-repository-engine-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.repository.update.UpdaterExecutionModule$ExecuteUpdatersTask.executeUpdatersInQueue(UpdaterExecutionModule.java:193) [hippo-repository-engine-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT] [INFO] [talledLocalContainer] at org.onehippo.repository.update.UpdaterExecutionModule$ExecuteUpdatersTask.run(UpdaterExecutionModule.java:150) [hippo-repository-engine-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT] [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_112] [INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_112] [INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112] [INFO] [talledLocalContainer] 05.10.2017 23:40:32 ERROR pool-5-thread-1 [UpdaterExecutor.error:571] Updating /hippo:namespaces/hippogallery/exampleImageSet/hipposysedit:prototypes/hipposysedit:prototype failed [