Details
Description
Run the unit tests in the attached bug report to see the failure. It appears to be an issue in Groovy that only kicks in when EMC.enableGlobally() is not active. Hence the same code is fine in the Testy controller's index action.
-
Hide
- tmp20-bug-report-08022012.zip
- 08/Feb/12 1:15 AM
- 23 kB
- Peter Ledbrook
-
- grails-app/.../ApplicationResources.groovy 0.1 kB
- grails-app/conf/BootStrap.groovy 0.1 kB
- grails-app/conf/BuildConfig.groovy 2 kB
- grails-app/conf/Config.groovy 4 kB
- grails-app/conf/DataSource.groovy 1 kB
- grails-app/conf/UrlMappings.groovy 0.2 kB
- grails-app/conf/spring/resources.groovy 0.0 kB
- grails-app/.../TestyController.groovy 0.2 kB
- grails-app/i18n/messages.properties 3 kB
- grails-app/.../messages_cs_CZ.properties 3 kB
- grails-app/i18n/messages_da.properties 3 kB
- grails-app/i18n/messages_de.properties 4 kB
- grails-app/i18n/messages_es.properties 3 kB
- grails-app/i18n/messages_fr.properties 2 kB
- grails-app/i18n/messages_it.properties 2 kB
- grails-app/i18n/messages_ja.properties 4 kB
- grails-app/i18n/messages_nl.properties 3 kB
- grails-app/.../messages_pt_BR.properties 3 kB
- grails-app/.../messages_pt_PT.properties 3 kB
- grails-app/i18n/messages_ru.properties 4 kB
- grails-app/i18n/messages_sv.properties 3 kB
- grails-app/i18n/messages_th.properties 6 kB
- grails-app/.../messages_zh_CN.properties 2 kB
- grails-app/views/error.gsp 0.3 kB
- grails-app/views/index.gsp 3 kB
- grails-app/views/layouts/main.gsp 2 kB
- src/groovy/org/example/DummyList.groovy 0.2 kB
- test/.../.TestyControllerTests.groovy.swp 12 kB
- test/unit/.../TestyControllerTests.groovy 0.4 kB
- application.properties 0.1 kB
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
Fixed by upgrading to 1.8.6 snapshot:
https://github.com/grails/grails-core/commit/4df07ae3dcc7fc635fc81246ba65fa23f827d681
Will need to upgrade to 1.8.6 final before release