Release Notes - Grails - Version 2.0.1 - HTML format

Bug

  • [GRAILS-5508] - Command Objects not recompiled when changes are made in development mode
  • [GRAILS-5583] - Adding a child object to the parent of a bi-directional hasOne relationship does not set child's parent property
  • [GRAILS-5997] - parseRequest=true in UrlMappings should not throw an error with empty HTTP request body
  • [GRAILS-7433] - wrong environment for war after selection from "did you mean list"
  • [GRAILS-7756] - run-app fails with permgen OOME when using servlet 3.0
  • [GRAILS-7767] - Grails asks to downgrade to a earlier version of transitive plugin
  • [GRAILS-7851] - Grails 2.0.0M1 Domain Class named Environment
  • [GRAILS-8143] - In HTML5, scaffolded decimal number input accepts only integer
  • [GRAILS-8189] - Geb functional tests pass every time when grails.project.work.dir is empty
  • [GRAILS-8210] - GSP doesn't get preprocessed by Sitemesh if it isn't associated with an action
  • [GRAILS-8213] - Domain getPersistentValue(String) method fails with NullPointerException when calling on an object that is in READ_ONLY mode
  • [GRAILS-8221] - findAll throws MissingMethod/Property
  • [GRAILS-8234] - Nested criteria parts do not work in unit tests
  • [GRAILS-8249] - Reverse URL mappings with extra params don't map correctly
  • [GRAILS-8337] - NULL not allowed for column when saving one to one
  • [GRAILS-8341] - Regression: withFormat not working correctly with */*
  • [GRAILS-8401] - In a unit test save(validate: false) fails if an association is null
  • [GRAILS-8406] - params.date
  • [GRAILS-8408] - Using @TestFor(UrlMappings) as described in documentation does not work
  • [GRAILS-8418] - When using @TestFor TagLibs can't seem to access their own properties
  • [GRAILS-8436] - Grails datastore Custom types are failing to check isDirty()
  • [GRAILS-8443] - parseRequest not working with named URL mappings
  • [GRAILS-8451] - Transitative persistence for Many-to-one associations not cascading saves
  • [GRAILS-8456] - Unit test namedQueries - MissingPropertyException "uniqueResult"
  • [GRAILS-8484] - Grails 2.0 App Without Datasource Forces Application To Have a Transaction Manager
  • [GRAILS-8485] - wrong action being rendered when "as JSON" is used in a method called getXXX and the original action renders some view
  • [GRAILS-8488] - MetaClassRegistryCleaner doesn't work for per-instance metaclasses
  • [GRAILS-8506] - Grails 2.0 does not ship with all required dependencies for offline use.
  • [GRAILS-8509] - Hypenated URLMapping config doesn't do reverse mappings correctly
  • [GRAILS-8511] - mockFor() cannot be used twice in the same test class
  • [GRAILS-8514] - Unable to define a custom test phase with Grails 2.0
  • [GRAILS-8516] - Spock unit test compilation failure with Grails 2.0
  • [GRAILS-8530] - In unit test, mocks are not cleaned beetween two tests (in same class)
  • [GRAILS-8539] - Creating of vim swp files impacting reloading
  • [GRAILS-8554] - Nesting custom taglibs
  • [GRAILS-8558] - Where queries doesn't work on bootstrap.
  • [GRAILS-8560] - View rendered twice when action forwards to another action + there is a filter
  • [GRAILS-8568] - Grails interactive tests don't work properly when mocks are used
  • [GRAILS-8569] - g:set doesn't work in tag body if body is called with arguments
  • [GRAILS-8576] - Custom CommonsMultipartResolver not being respected (regression)
  • [GRAILS-8590] - bidirectional one-to-one relation did not save child objects when constructor isn't used
  • [GRAILS-8594] - Action named like "get*" are called unexpectedly from other actions in same controller ...
  • [GRAILS-8606] - web application generated by Grails2.0 failed to deploy in JBoss 6 final
  • [GRAILS-8608] - withTransaction not working in unit tests
  • [GRAILS-8610] - SNAPSHOT plugins not updated with --refresh-dependencies
  • [GRAILS-8622] - File change after exiting run-app in interactive console causes nasty exception
  • [GRAILS-8623] - Problem with 'where' queries executed from Controller
  • [GRAILS-8635] - Can't use Log4j DSL shortcuts for layouts (xml, html, simple)
  • [GRAILS-8636] - Association queries created by Criteria API is not working as expected in unit test
  • [GRAILS-8638] - Functional tests unable to use gorm to perform setup
  • [GRAILS-8641] - No such property: action for class: com.books.Book (with Hibernate domain class)
  • [GRAILS-8643] - Dependency exclusions not working
  • [GRAILS-8645] - NullPointerException: Cannot get property 'fullName' on null object (using @ElementCollection in Hibernate domain class)
  • [GRAILS-8648] - Make GSP compilation error during "package-plugin --binary" more informative
  • [GRAILS-8656] - Unique constraint erroneously finds match when grouped property value is null
  • [GRAILS-8661] - it is not possible anymore to have differentt mocks for the same interface
  • [GRAILS-8666] - Multiple public methods of same name in controller cause compilation error
  • [GRAILS-8672] - NullPointerException with named query with null parameter
  • [GRAILS-8680] - Usage of DomainInstance.properties results in a SQL statement that fetches all domains instances
  • [GRAILS-8683] - Functional tests crash during launch when domain classes reference services
  • [GRAILS-8690] - Unit test side-effects in interactive console
  • [GRAILS-8696] - Upgrade groovy version to 1.8.6 (GROOVY-5212: Compilation problem for java enums defined as groovy classes)
  • [GRAILS-8697] - Dynamic scaffolding has problem with custom 'index' action
  • [GRAILS-8700] - Calling g:render more than once in the same unit test renders the same template repeatedly
  • [GRAILS-8708] - Old-style 1.3.x domain class unit tests failing in Grails 2
  • [GRAILS-8713] - CLONE - Filters don't work in either "run-war" or manual deployment to Tomcat 7, while work fine in "run-app"
  • [GRAILS-8718] - Springload-core breaks java reflection Field.set on premetive
  • [GRAILS-8721] - Unit testing taglib that has a body that accepts parameters throws a NullPointerException
  • [GRAILS-8724] - @Validateable on groovy class results in NoSuchBeanDefinitionException
  • [GRAILS-8739] - Testing docs for Grails 2.0 @TestFor do not enumerate all provided instances mixed into test
  • [GRAILS-8742] - Controller Integration test fails to update response if it's called on mutiple actions
  • [GRAILS-8747] - Saving many-to-many in unit test causes stack overflow
  • [GRAILS-8748] - Metaclass not cleaned up when running unit tests in interactive mode
  • [GRAILS-8749] - Comparing a null Integer value with integer literal results in NPE in unit tests
  • [GRAILS-8755] - Single Line creation syntax of Domain Class with One to Many Mapping has stopped working in 2.0
  • [GRAILS-8757] - In unit tests, back reference is not set for one-to-one association
  • [GRAILS-8758] - join() and cache() in criteria queries break unit tests
  • [GRAILS-8759] - Implicit @TestFor not working for controllers
  • [GRAILS-8761] - MetaClassRegistryCleaner? breaks XmlParser/Slurper
  • [GRAILS-8762] - findBy methods not setting a limit even though they return only 1 result
  • [GRAILS-8769] - "No property found for name" exception on unit tests

Improvement

  • [GRAILS-8051] - plugin-info should display dependency string and required repositories
  • [GRAILS-8415] - Command classes' errors property should be a ValidationErrors object, not BeanPropertyBindingResult
  • [GRAILS-8446] - For consistency reasons relativeYears in g:datePicker should use reverse IntRanges to display the years in reverse order
  • [GRAILS-8657] - Add info on how to use custom css, js and html for project documentation

New Feature

  • [GRAILS-7172] - Support automatically fetching updated versions of -SNAPSHOT plugins from plugin repositories
  • [GRAILS-8312] - namedQuery.get() always returns null but namedQuery.list().find{it} returns a result

Edit/Copy Release Notes

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