Release Notes - Grails - Version 1.2-M2 - HTML format

Sub-task

  • [GRAILS-559] - Lack of fail fast on validation failure when calling MyDomainClass.save() is very annoying
  • [GRAILS-3077] - Default databinding for empty Strings to Enums
  • [GRAILS-4806] - document new behavior
  • [GRAILS-4925] - Update to Groovy v1.6.4

Bug

  • [GRAILS-2569] - scaffolding generates <label for=> with no matching IDs on <g:select>
  • [GRAILS-3057] - createLink and UrlMappings quotes issues
  • [GRAILS-3065] - save() method not available on subclass object within method of parent class
  • [GRAILS-3314] - Using enums gives "Unable to auto-create type, 'create' method not found" error
  • [GRAILS-3318] - Error automatically restarting container
  • [GRAILS-3378] - radioGroup tag fails XHTML validation
  • [GRAILS-3585] - reloading : file is locked by another application ( on Windows XP )
  • [GRAILS-3757] - <g:set> tag has small typo
  • [GRAILS-3905] - render as XML no longer works correctly
  • [GRAILS-4066] - "test-classes" directory not added to classpath of bootstrapped Grails in integration tests
  • [GRAILS-4225] - Interceptors not firing during flow (similar to 1517)
  • [GRAILS-4243] - grails-hibernate-1.1 downloaded with grails run-app and empty local repo
  • [GRAILS-4434] - Unable to delete domain object from within a beforeDelete event
  • [GRAILS-4446] - Binding to Domain with embedded objects fails
  • [GRAILS-4453] - org.hibernate.AssertionFailure: collection [...] was not processed by flush() when changing child records in beforeXXX event methods in parent record
  • [GRAILS-4559] - Error pages rendered as plain text instead of HTML on Mor.ph appspace
  • [GRAILS-4561] - Integration tests fail with missing sessionFactory in projects with no datasource and/or no tests (eg a plugin)
  • [GRAILS-4599] - tomcat fatal error with option "grails.gsp.enable.reload = true"
  • [GRAILS-4618] - createLink in integration test fails w/o "controller" parameter
  • [GRAILS-4622] - Grails upgrade wants to install hibernate-plugin even if it is allready there
  • [GRAILS-4629] - alias for dataSource in resources.xml does not work when deployed as jar
  • [GRAILS-4632] - scaffolding for many-to-many doesn't select fields correctly
  • [GRAILS-4646] - "grails test-app" does not copy the resources into the resource directory
  • [GRAILS-4649] - Setting grails.war.resources in BuildConfig results in that no resources are generated when executing commands 'test-app' and 'war'
  • [GRAILS-4717] - mockLogging doesn't work for Errors objects
  • [GRAILS-4718] - GrailsTask launch TestApp leads to class not found for junit.framework.TestListener
  • [GRAILS-4728] - There's no way to properly handle 'throwTagError' through urlmappings
  • [GRAILS-4731] - <g:include controller="...." action="..."/> not including content
  • [GRAILS-4735] - NPE when BuildConfig.groovy exists but contains no code, or just a comment
  • [GRAILS-4738] - Config property "grails.views.gsp.encoding" not used in RenderDynamicMethod
  • [GRAILS-4746] - Grails 1.1.1 can't bind request params multivalue field (String array) to Domain or Command object's List property
  • [GRAILS-4753] - Validation cascade doesn't work for persistent objects (even if belongsTo)
  • [GRAILS-4757] - Adding plugins with camel case names, views not resolved correctly
  • [GRAILS-4758] - Invalid maximum heap size error when creating new project
  • [GRAILS-4764] - dataSource documentation shows "pooling" instead of "pooled"
  • [GRAILS-4767] - Requesting a missing .gsp file results in 500 server error rather than 404 error
  • [GRAILS-4780] - ConfigurationHelper.config null in integration tests
  • [GRAILS-4781] - Grails app-engine plugin and Grails 1.2 M1 don't play together
  • [GRAILS-4786] - Regression: NPE in taglibs - probably actionName being null
  • [GRAILS-4789] - Default nullable: false constraints on associations are not enforced on subclasses
  • [GRAILS-4794] - instanceOf dynamic method is not added by mockDomain
  • [GRAILS-4795] - CLONE -grails run-app: DefaultGrailsPlugin leaks filehandles in checkModified()
  • [GRAILS-4803] - Grails-1.2-M1: Running the command "grails uninstall-plugin xxxx" throws exception
  • [GRAILS-4805] - common webflow namespace for all controllers
  • [GRAILS-4812] - paypal 0.3 taglib problem in Grails 1.2-M1
  • [GRAILS-4819] - Plugin views might not be found when using a BuildConfig.groovy
  • [GRAILS-4822] - Upgrading to appengine 0.8.3 plugin fails
  • [GRAILS-4826] - formRemote not working in Google AppEngine
  • [GRAILS-4827] - Ki Plugin broken with 1.2-SNAPSHOT from git hub. But It works well with 1.2-M1
  • [GRAILS-4833] - Installing the app-engine plugin 0.8.3 fails due to an uninstallation problem with the hibernate 1.2-M1 plugin
  • [GRAILS-4841] - uninstall-plugin throws exception
  • [GRAILS-4842] - Grails 1.2M1, run-war throws NPE on Domain.list()
  • [GRAILS-4853] - No such property: fullName for class: org.codehaus.groovy.grails.plugins.web.filters.DefaultGrailsFiltersClass
  • [GRAILS-4855] - Grails plugin custom repos for discovery and distribution in BuildConfig shows password in plain text on the console
  • [GRAILS-4868] - Hibernate always misses second-level cache
  • [GRAILS-4872] - Bad and buggy auto-generated code in controllers
  • [GRAILS-4880] - JSON and XML converters behave inconsistently when it comes to file writer handling
  • [GRAILS-4883] - When custom error pages generated (404, 403, 500), AND the error pages implement a layout, Content-Type header is not set
  • [GRAILS-4887] - ControllerUnitTestCase does not mock chainModel
  • [GRAILS-4888] - Inconsistent JSON serialization of id in domain object graph
  • [GRAILS-4896] - "lang=any&lang=any" in URL causes infinite loop of exceptions (when using a controller as error-handler)
  • [GRAILS-4901] - org.hibernate.AssertionFailure: collection [...] was not processed by flush() with any beforeUpdate and one-to-many bi-directional relationship
  • [GRAILS-4908] - Default settings for JAVA_OPTS leads to inability to start grails
  • [GRAILS-4918] - Command Validation Errors appear twice
  • [GRAILS-4949] - groovy range operator hosed in production mode
  • [GRAILS-4953] - Uninstall task fails
  • [GRAILS-5150] - Grails app-engine plugin java.util.logging.LogManager is a restricted class.
  • [GRAILS-6138] - LocaleContextHolder is accessing wrong i18n information (Accept-Language) from a taglib in a layout
  • [GRAILS-9068] - org.hibernate.AssertionFailure: collection [...] was not processed by flush() when changing parent records in beforeXXX event

Improvement

  • [GRAILS-1332] - When domain classes reload against memory DB with create-drop, all data added in bootstrap is lost and bootstrap is not re-run
  • [GRAILS-1684] - automatic data binding should use version if present to detect failed optimistic lock
  • [GRAILS-1743] - Validation error messages don't let me pick friendly column names, only internal names
  • [GRAILS-1989] - grails war should exclude unnecessary dependencies
  • [GRAILS-2624] - Ability to force the locale of <g:message>
  • [GRAILS-2674] - Fine Grained Service Transactions
  • [GRAILS-3343] - Improve range of transaction propagation options on services
  • [GRAILS-3391] - Provide easy way to get current controller and action names from within the view
  • [GRAILS-3413] - Top level task: Data binding improvements
  • [GRAILS-3681] - Allow pass through attributes with g:javascript (JavascriptTagLib)
  • [GRAILS-3827] - g:link should support 'name' attribute to generate node id
  • [GRAILS-3999] - allow BuildConfig.groovy to co-exist with and override application.properties
  • [GRAILS-4005] - Hibernate Plugin update to 3.4.0, include Entity Manager jar, and download issue
  • [GRAILS-4074] - reload the GrailsPlugin.groovy template according to the execution sequence
  • [GRAILS-4098] - Update Third-Party-Libraries for V1.1
  • [GRAILS-4267] - Grails 1.2 jar update wish list
  • [GRAILS-4343] - Add a safe save() method to Domain Objects
  • [GRAILS-4344] - Deactivate Dirty Checking
  • [GRAILS-4759] - Update ehcache version bundled with grails
  • [GRAILS-4790] - Support arbitrary environments (not just dev, test, prod)
  • [GRAILS-4811] - Support per-method @Transactional annotation in Services
  • [GRAILS-4849] - Pluggable Grails test runner
  • [GRAILS-4873] - mockDomain does not support findAllWhere
  • [GRAILS-4916] - Make Grails DispatcherServlet delegate to super class to resolve handler mappings
  • [GRAILS-4934] - Place Ivy into any location other than ~/.ant/lib as it affects all other ANT builds for a user

New Feature

  • [GRAILS-86] - Support for human readable time differences
  • [GRAILS-157] - Implement tag library for doing javascript effects
  • [GRAILS-893] - Add controllerContext or controllerScope virtual session namespaced within request's session
  • [GRAILS-2944] - org.hibernate.validator.* available in 1.0.1 but not in 1.0.2
  • [GRAILS-3917] - provide Native Sql
  • [GRAILS-4158] - Create more flexibility in one to one relationship (bidirectional)
  • [GRAILS-4939] - Enhanced Boolean Support For Dynamic Finders
  • [GRAILS-4940] - Support For Named Criteria In GORM

Test

  • [GRAILS-4354] - I've just bought the Definitive Guide to grails book, and had a quick question regarding Chapter 1's first unit test...

Edit/Copy Release Notes

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