Release Notes - Grails - Version 1.2.2 - HTML format

Sub-task

  • [GRAILS-3210] - GORM Inheritance bug: a subcass of a tree (one-to-many with self) doesn't inherit the parent/children relationship
  • [GRAILS-5518] - Grails-maven-plugin: Optional support for Install/Update a grails plugin via maven artefact coordinates

Bug

  • [GRAILS-4099] - /test/unit/**/*Test.java files are ignored
  • [GRAILS-4246] - Application does not start if taglibs are read-only
  • [GRAILS-4563] - Reverse Url Mapping fails when "/" is mapped to a controller
  • [GRAILS-5018] - mockDomain() does not create refresh() or attach() methods of the domain class
  • [GRAILS-5051] - JSP files do not refresh in the application when changed
  • [GRAILS-5052] - forword(controller…) result not found view gsp error
  • [GRAILS-5281] - startGrails.bat fails on windows if no GRAILS_HOME is set
  • [GRAILS-5497] - session and request.getSession() are different object instances in unit tests
  • [GRAILS-5505] - pluginContextPath is not set for installed plugin
  • [GRAILS-5521] - JNDI code for tomcat plugin possibly incomplete or needs better documentation
  • [GRAILS-5581] - Null pointer exception when refreshing the parent object of a nullable hasOne relationship
  • [GRAILS-5604] - CLONE -IllegalStateException: Unable to locate bridged method for bridge method
  • [GRAILS-5608] - Global plugin installation broken
  • [GRAILS-5618] - Edit Numeric in textField and internationalization
  • [GRAILS-5622] - View paths in controller integration tests are not resolved correctly
  • [GRAILS-5627] - Filters do not fire on webflow redirect
  • [GRAILS-5636] - Unable to run Grails on JRockit 1.6.x
  • [GRAILS-5641] - 'package-info.java' should be excluded from change-detection
  • [GRAILS-5656] - Many-To-Many-Relation violates Unique-Constraint
  • [GRAILS-5670] - XmlParser can't iterate over some children nodes
  • [GRAILS-5681] - Not all I18N messages properties files work correctly
  • [GRAILS-5768] - Unable to build Grails from github
  • [GRAILS-5803] - Mocked domain classes addTo and removeFrom do not set other sides of relationships in unit / integration tests
  • [GRAILS-5805] - Non determinism in plugin dependency resolution
  • [GRAILS-5809] - Problem Retrieving Named Query Before Invoking Dynamic Methods
  • [GRAILS-5826] - TomcatServer.groovy requires Sun JVM
  • [GRAILS-5830] - test-app is broken after upgrade to garils-1.2.1
  • [GRAILS-5833] - CLONE -Grails still flushes the session after an action completes when an exception is caught and not rethrown
  • [GRAILS-5836] - Hibernate session issues with non request bound threads
  • [GRAILS-5839] - Duplicate resources when using in-place plugins and building a project's war file
  • [GRAILS-5840] - IntegrityConstraintViolation followed by redirect flushes hibernate session, which cause exception to be shown in browser.
  • [GRAILS-5842] - mockDomain does not mock withNewSession under unit test
  • [GRAILS-5845] - MockUtils id generation should be unique
  • [GRAILS-5847] - Tag bodies invoked with arguments cannot modify variables from page scope
  • [GRAILS-5858] - ConverterUtil.trimProxySuffix doesn't trim underscore
  • [GRAILS-5867] - Aspects not being invoked
  • [GRAILS-5882] - When a test is transactional, service rollback does not work properly
  • [GRAILS-5883] - Order of Unit Test matters when one Domain class extends other Domain class
  • [GRAILS-5889] - install-templates prompts whether to overwrite but overwrites regardless
  • [GRAILS-5895] - setting joinTable name on a gorm mapped map gets ignored
  • [GRAILS-5901] - Hibernate plugin 1.2.1 doesn't work together with Maven build
  • [GRAILS-5915] - BootStrap.groovy doesn't allow custom environments in the "environments" block.
  • [GRAILS-5922] - Calling reset() in tests descended from TagLibUnitTestCase results in NPE
  • [GRAILS-5929] - Dynamic Finders don't work with multiple parameters if first parameter name contains 'By'
  • [GRAILS-5932] - AOP 2 not working with Grails 1.2 (works with Grails 1.1.x)
  • [GRAILS-5942] - Typo in code sample under 9.2 Integration Testing "Simulating Request Data"
  • [GRAILS-5944] - CLONE -JSON/XML Converters failing with lazy loading
  • [GRAILS-5953] - Webflow plugin leaks hibernate session into Http Session
  • [GRAILS-5963] - g:include tag does not produce output if controller is not specified
  • [GRAILS-5980] - Many-to-many scaffolding is no longer working
  • [GRAILS-5998] - CONTROLLER_NAME_ATTRIBUTE not set correctly on controller MockRequest objects during integration tests
  • [GRAILS-6016] - using tlds in grails app causing web-jsptaglibrary_1_2.dtd to be resolved externally
  • [GRAILS-6018] - Not possible to use release-plugin in non-interactive mode [patch included]
  • [GRAILS-6035] - Controller render() method for template/collection, doesn't 'it' variable to template
  • [GRAILS-6038] - TomcatServer.groovy report No such property:BuildSettingsHolder in 1.3.1
  • [GRAILS-6046] - CLONE -inList Scaffolding Doesn't Use Correct Instance Variable
  • [GRAILS-6053] - AbstractSavePersistentMethod.autoRetrieveAssocations cannot handle non-nullable keys
  • [GRAILS-6056] - GrailsDataBinder.autoCreatePropertyIfPossible doesn't work for hibernate domain classes
  • [GRAILS-6067] - TomcatServer.groovy report No such property:BuildSettingsHolder in 1.2.2 snapshot build
  • [GRAILS-6076] - TomcatServer.groovy report No such property:BuildSettingsHolder in 1.2.2 snapshot build
  • [GRAILS-6079] - 'grails.gorm.default.mapping' ignored in auto-generated join tables
  • [GRAILS-6086] - Reloading currently broken when adding new artefacts (controllers/taglibs etc.)
  • [GRAILS-6138] - LocaleContextHolder is accessing wrong i18n information (Accept-Language) from a taglib in a layout
  • [GRAILS-6166] - Error starting Grails: Incompatible argument to function java.lang.VerifyError

Improvement

  • [GRAILS-755] - Add dynamic reloading of scaffolding views
  • [GRAILS-3847] - grails war to generate formatted web.xml
  • [GRAILS-4380] - schema-export does not recognize externalized DataSource-definitions
  • [GRAILS-4652] - MvcUnitTestCase.reset() does not reset mockResponse
  • [GRAILS-5490] - generate-all should generate the controller unit test
  • [GRAILS-5638] - mockDomain - missing validate() methods
  • [GRAILS-5705] - test-app does not honor -https switch
  • [GRAILS-5713] - Package by convention for new artefacts
  • [GRAILS-5891] - PATCH: allow external GRAILS_OPTS to be specified for passing JVM options to grails
  • [GRAILS-5897] - Cached metadata can break builds
  • [GRAILS-5910] - Don't add missing src dirs to compilation source path
  • [GRAILS-5914] - Upgrade The 1.2.x Branch To Groovy 1.6.8
  • [GRAILS-5949] - Disable ehcache's "phone home" code that is turned on by default and spy's on production environments
  • [GRAILS-5959] - Since StreamCharBuffer is returned, could a DefaultGrailsApplicationAttributes.getTemplateUri(StreamCharBuffer, ServletRequest) please be added?
  • [GRAILS-5964] - Support hibernate event handlers such as beforeInsert in mockDomain
  • [GRAILS-5985] - Register custom property editors for collection properties
  • [GRAILS-5986] - Handle binding to specific indexes of lists & maps
  • [GRAILS-5992] - Subclass UniqueConstraint to change how FieldErrors are generated
  • [GRAILS-6084] - _GrailsCompile script will never compile tests?

New Feature

  • [GRAILS-546] - Add hooks and plugins for version control integration, such as cvsignore, adding new files to version control etc
  • [GRAILS-5571] - Support "grails «task» -verboseCompile" to help when hitting compiler issues.
  • [GRAILS-5904] - Add discrimator formula, type and insert to gorm mapping

Edit/Copy Release Notes

The text area below allows the project release notes to be edited and copied to another document.