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

Sub-task

  • [GRAILS-1361] - Improve the error message if you call redirect twice in the same controller action
  • [GRAILS-2928] - Caching of projects/classes causes problems when working on multiple branches of an app
  • [GRAILS-3141] - No documentation showing how JSONBuilder behaves
  • [GRAILS-3148] - Rewrite JSONBuilder
  • [GRAILS-3639] - Want global facility to define default UserType to particular classes
  • [GRAILS-4220] - All domain class properties ("getters") get called when domain class is instantiated (should use AbstractGrailsClass.getPropertyOrStaticPropertyOrFieldValue internally for resolving domain class static "properties")
  • [GRAILS-5264] - the suffix "instance" of domain instance to be customizable

Bug

  • [GRAILS-374] - generate error edit/create.gsp where some properties's type is null(I dont know why)
  • [GRAILS-1405] - Inclusion of javascript library in layout not seen by view
  • [GRAILS-1623] - Validation does not cascade properly for domain subclass
  • [GRAILS-1845] - test-app use of save(flush:true) appears broken for Java domain classes
  • [GRAILS-2218] - Empty .groovy file in src/groovy causes run-app and console target to start with an infinite reloading loop
  • [GRAILS-2475] - Criteria Builder causes SQL errors when using pagination and sort
  • [GRAILS-2662] - Postgresql requires flush on save or selects performed after an insert/update won't return correct results
  • [GRAILS-2723] - Reverse mapping in redirect called from controllers is broken if no controller specified, only action
  • [GRAILS-2735] - Criteria.list() with paginate and sort order causes SQLException
  • [GRAILS-2766] - Ajax tags don't use the correct adaptive javascript library when the <g:javascript library=...> tag is in a layout
  • [GRAILS-2800] - Grails Interactive mode doesn't use correct environment when running tests
  • [GRAILS-2811] - Grails interactive test-app remembers paramters passed to it
  • [GRAILS-2814] - Groovy file with no matching Groovy class causes endless looping when startup
  • [GRAILS-2840] - Grails interactive "remembering" previous arguments
  • [GRAILS-2883] - "help" command does not work under interactive mode
  • [GRAILS-2992] - Templates for _Install.groovy use unescaped varname in comments, which expand when creating project
  • [GRAILS-3023] - xxx is not mapped exception when using HQL queries using domain class not in default package
  • [GRAILS-3124] - data binding with a prefix filter isn't filtering correctly; don't use replaceFirst
  • [GRAILS-3204] - In interactive mode, Grails creates a war file with grails.env=development
  • [GRAILS-3211] - Compiler fails, then grails startup loops forever
  • [GRAILS-3219] - 404 UrlMapping does not work with Tomcat
  • [GRAILS-3279] - Book.createCriteria().list(...) with pagination and sorting specified within the closure fails with org.hibernate.exception.SQLGrammarException
  • [GRAILS-3427] - params object is not populated from JSON request data
  • [GRAILS-3770] - generate-commands ignore domainclass in interactive-mode
  • [GRAILS-4039] - Unit tests generated for artefacts in packages have imports statement above package statement
  • [GRAILS-4235] - Commands invoked in the interactive shell (e.g. "create-domain-class", "create-service", "test-app", etc.) ignore supplied arguments
  • [GRAILS-4377] - IllegalArgumentException thrown by grails.orm.HibernateCriteriaBuilder, caused by "in" criteria
  • [GRAILS-4394] - Regression: redirect(action:xxxx) in controller integration tests will not reverse map as no controller specified
  • [GRAILS-4487] - Inheritance discriminator not being used for collection subqueries
  • [GRAILS-4579] - registerObjectMarshaller in Grails 1.1, suspected Bug
  • [GRAILS-4614] - Object retrieved from db is not of the expected type - hibernate proxy to domain class
  • [GRAILS-4635] - Wrong argument parsing in windows cmd
  • [GRAILS-4670] - Failed installation with NullPointer on create-app
  • [GRAILS-4671] - Value of "transients" GORM property is not inherited by subclasses
  • [GRAILS-4712] - scoped services dont work as expected in grails-1.1.1
  • [GRAILS-4739] - grails session problem in tomcat, if client without cookies
  • [GRAILS-4756] - A previous instance of GroovyPageTagBody cannot be reused later in the page by a taglib
  • [GRAILS-4797] - initial release-plugin does not import unit tests
  • [GRAILS-4851] - Exception when calling transactional service from afterInsert in Bootstrap
  • [GRAILS-4871] - grails.tld for invoke tag - bad argument - attaching a bugfix
  • [GRAILS-5019] - Plugins not automatically updated when version in metadata changes
  • [GRAILS-5060] - Groovy Map issue can cause Grails code to break (upgrade to Groovy 1.6.5)
  • [GRAILS-5082] - Answering "y" to the uninstall unused plugin prompt results in other plugins not loading
  • [GRAILS-5121] - Grails create-app generates invaild .project file
  • [GRAILS-5153] - dependency conflict causing war not to start on web server
  • [GRAILS-5167] - JSP compilation fails in "grails run-app" mode
  • [GRAILS-5173] - Named Query - get(id) doesn't work and documentation is missing
  • [GRAILS-5185] - Webflows are broken
  • [GRAILS-5186] - g:select tag is not able to show the selected element from the list when using string fields
  • [GRAILS-5187] - Grails tag [g:captureBody] was not closed
  • [GRAILS-5190] - g:render content in gsp creates broken output
  • [GRAILS-5191] - <g:layoutTitle> generates two title tags when <g:layoutHead> is also used
  • [GRAILS-5192] - 1.2 M3 Error message
  • [GRAILS-5200] - Config property grails.gsp.enable.reload=true leads to strange Exception on tomcat and breaks app
  • [GRAILS-5201] - Render template from plugin does not work in 1.2M3 on tomcat in production
  • [GRAILS-5205] - Tomcat Plugin exposes plugin web resources under wrong name
  • [GRAILS-5207] - Reverse URL mappings / redirect to REST url mapping fails
  • [GRAILS-5213] - Use failOnError:false parameter in scaffolded controller
  • [GRAILS-5214] - failOnError doesn't work during validations of hibernate preUpdate event
  • [GRAILS-5218] - redirect to controller not working right when using static URL Mappings
  • [GRAILS-5220] - GRAILS_HOME required to be set when doing Maven builds?
  • [GRAILS-5227] - package-plugin includes dependencies from all installed plugins when target grailsVersion is 1.1
  • [GRAILS-5228] - Ivy DSL doesn't support qualifiers
  • [GRAILS-5229] - -Dserver.port does not work
  • [GRAILS-5230] - Make it possible to exclude jars from plugins using Ivy DSL even if they haven't been declared in the plugin's BuildConfig.groovy
  • [GRAILS-5235] - Stacktrace filtering needs to be updated to exclude all Tomcat related packages
  • [GRAILS-5236] - Very ugly NPE exceptions when <g:render> a template that cannot be found
  • [GRAILS-5237] - Can't release a plugin with Grails 1.1.1
  • [GRAILS-5238] - Groovy compiler error with certain domain classes
  • [GRAILS-5239] - Unable to Run Grails Application Because of Missing Dependency
  • [GRAILS-5242] - Help command for scripts doesn't work anymore
  • [GRAILS-5250] - Exception with grails run-app
  • [GRAILS-5255] - Tests say they have passed even though compile failed
  • [GRAILS-5262] - Scaffolded actions are not available to functional test phase if integration test phase has run
  • [GRAILS-5273] - German version of default.boolean.false property has wrong translation
  • [GRAILS-5277] - Grails still flushes the session after an action completes when an exception is caught and not rethrown
  • [GRAILS-5288] - When a compile failure happens during development, the old class is still loaded
  • [GRAILS-5292] - -Dserver.port ignored
  • [GRAILS-5295] - Jetty plugin not working correctly with JSP pages
  • [GRAILS-5296] - DomainInstance.errors.rejectValue function error
  • [GRAILS-5309] - Getting bad proxies for association
  • [GRAILS-5310] - Regression - redirect with controller but not action results in url with current even if redirect to different controller
  • [GRAILS-5313] - lazy:false not working for circular one-to-one associations with inheritance
  • [GRAILS-5314] - hasProperty and respondsTo don't work on Hibernate proxies

Improvement

  • [GRAILS-1402] - Failfast if redirect called when there is already a pending redirect (i.e. indirectly as of a previous call to chain)
  • [GRAILS-2615] - Global id generation scheme
  • [GRAILS-2837] - flush hibernate session before redirect
  • [GRAILS-3740] - Improve getting date from params
  • [GRAILS-3755] - Reuse of globally defined constraints across domain model
  • [GRAILS-4182] - "grails interactive" should accept arguments
  • [GRAILS-4345] - Activate Second-Level-Caching on Domain Objects per Default
  • [GRAILS-5010] - Update prototype library to a newest version and move to plugin
  • [GRAILS-5033] - Upgrade SVNKit to 1.3.0
  • [GRAILS-5146] - Better error message for save(failOnError:true)
  • [GRAILS-5172] - Config Param "grails.gorm.failOnError" restricted on packages
  • [GRAILS-5231] - Add a built in Ivy resolver that resolves against installed plugins lib directories
  • [GRAILS-5252] - create-script should not prompt for a package
  • [GRAILS-5257] - Allow lists as named parameters on Domain.executeUpdate
  • [GRAILS-5259] - DomainClass.exists() is inefficient
  • [GRAILS-5260] - Improvements to stats script
  • [GRAILS-5266] - Allow customisation of default domain object constraints
  • [GRAILS-5280] - Add 'export' argument to Ivy DSL so that plugins can export dependencies to an application (or not)
  • [GRAILS-5286] - Addition of support for Hibernate ParameterizedType implementations
  • [GRAILS-5293] - Allow ibiblio repo credentials to be set in Dependencies DSL
  • [GRAILS-5298] - Concatenate and minify javascript files during build and reference only those concatenated files from html depending on the environment

New Feature

  • [GRAILS-289] - Support for different BootStrap environments (as with Dev/Test/Prod DataSources)
  • [GRAILS-3895] - Plugin "Portal" Features
  • [GRAILS-3898] - Robust support for WSDL-first web services
  • [GRAILS-3997] - Additional Web Flow Action events please
  • [GRAILS-4192] - Add support for using @Lazy AST transformation in domain classes
  • [GRAILS-5287] - Allow global configuration of GORM settings (cache, identity, nullability etc.)

Edit/Copy Release Notes

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