Release Notes - Grails - Version 1.1-RC1 - HTML format

Sub-task

  • [GRAILS-1535] - Allow forwarded requests to pass into urlMapping and grailsWebRequest filter-mappings
  • [GRAILS-1980] - need ability to specify layout per controller
  • [GRAILS-2060] - No way of specifying hibernate <natural-id> in GORM
  • [GRAILS-2473] - Running a single test method from test suite
  • [GRAILS-2772] - Add http status code to render method
  • [GRAILS-3183] - Split out Grails core into real Grails plugins under GRAILS_HOME/plugins
  • [GRAILS-3251] - add a loadBefore variable similar to loadAfter
  • [GRAILS-3271] - Add a tag library for inspecting plugins in GSPs (see the grails.org sample app for the basis of this)
  • [GRAILS-3313] - When using the "plugin" attribute of the <g:render> method if you are running as the current plugin it should be ignore
  • [GRAILS-3422] - Mock the behaviour of render obj as XML (and JSON)
  • [GRAILS-3487] - Store plugins-list.xml in non-project directory
  • [GRAILS-3574] - Provide hook to enable third-party test targets to automatically run on test-app
  • [GRAILS-3590] - Add empty methods for setUp and tearDown to Test templates
  • [GRAILS-3682] - one more assert in a test function cause failue of another test function
  • [GRAILS-3692] - Suppress successful unit tests from commandline output
  • [GRAILS-3803] - Make it easier to return status codes - render(status:n) or error(status:n) or both
  • [GRAILS-3810] - Add a way to test the new withForm { }.invalidToken { } construct
  • [GRAILS-3811] - Add a way to test the new forward(action:"foo") method
  • [GRAILS-3816] - Add method to GrailsUnitTestCase to load a codec
  • [GRAILS-3823] - list() returns an array of nulls
  • [GRAILS-3858] - version false breaks composite ids
  • [GRAILS-3861] - Some of the plugins unit tests are failing
  • [GRAILS-3866] - Problem with loading plugins in the integration tests - not possible to test output of the render method
  • [GRAILS-3893] - Tags should not do encoding if default encoding is already set
  • [GRAILS-3920] - Add "XML" property to the request object that parses the request content on demand using XmlSlurper
  • [GRAILS-3932] - Mocking DynamicFinders: Check for 'order' params
  • [GRAILS-3933] - Unit Test created via create-service should extend GrailsUnitTestCase
  • [GRAILS-4019] - exclude mechanism in UrlMappingsFilter uses request.getRequestURI
  • [GRAILS-4029] - Default sort domain mapping should work with dynamic finders

Bug

  • [GRAILS-1403] - I18N Messages from plugins are not accessible in application
  • [GRAILS-1844] - Cannot use Sitemesh layouts on errorPage's
  • [GRAILS-2082] - 'script' tags are not handled correctly in content blocks
  • [GRAILS-2089] - Bootstrap doesn't be called at test-app command
  • [GRAILS-2113] - Filters do not called in case of direct mapping to view
  • [GRAILS-2133] - domain method list() returns multiple entry of same entity when fetMode is eager
  • [GRAILS-2186] - SiteMesh layouts cannot be rendered when 404 occurs (defined in UrlMappings)??
  • [GRAILS-2348] - application/create throws java.lang.ClassCastException: Application cannot be cast to javax.servlet.ServletContext
  • [GRAILS-2450] - plugin.xml generated by "grails package-plugin" is wrong when plugin has installed a plugin itself
  • [GRAILS-2499] - Service Injected in Domain Class not directly accessible from GORM Event method
  • [GRAILS-3136] - Unable to start application with Java based model and imported persistence configuration file
  • [GRAILS-3386] - No Xmx memory setting for Windows in debug mode
  • [GRAILS-3459] - The version false is not seen in the domain class
  • [GRAILS-3628] - Views break with associations that have class inheritence
  • [GRAILS-3666] - Injected log property is missing in services
  • [GRAILS-3828] - A plugin doesn't response to any "grails xxx" command after a particular jar is added
  • [GRAILS-3831] - Custom validator for one-to-many association fails: LazyInitializationException
  • [GRAILS-3835] - grails release-plugin doesn't add a grails-app directory that cause project cannot be recognized after checked out
  • [GRAILS-3841] - ReleasePlugin script has wrong variable name in code related to incorrect svn credentials
  • [GRAILS-3901] - cannot release a plugin to a new local repo
  • [GRAILS-3903] - beforeUpdate not persisting changes to db
  • [GRAILS-3904] - create-domain-class with package name creates unit test class with the package statement after the import statement.
  • [GRAILS-3907] - ControllersGrailsPlugin throws exception when a controller has an abstract super class
  • [GRAILS-3908] - Abstract controller throws groovy.lang.MissingMethodException during startup
  • [GRAILS-3914] - Missing property "g" after controller reload
  • [GRAILS-3918] - uninstall plugin on windows fail if the plugin has jar
  • [GRAILS-3919] - when there is a empty folder (package) under src/java, the release-plugin script fails
  • [GRAILS-3924] - when run in nohup with "grails run-app &" in linux the "do you want to uninstall?" question loop infinitely
  • [GRAILS-3925] - server.host system property is not working, only one Grails 1.1 instance can be run in a multi-home server
  • [GRAILS-3926] - Grails won't detect GRAILS_HOME on Windows
  • [GRAILS-3927] - ${it} generates error "The current scope already contains a variable of the name it" even when there no other "it" variable in the gsp
  • [GRAILS-3928] - Reference guide still refers to "run-app-https", not "run-app --https"
  • [GRAILS-3930] - constraints are getting ignored
  • [GRAILS-3934] - Persistence of Collections of Enum Types gives error in combination with advanced enum support
  • [GRAILS-3939] - NullPointerException when attempting to use the custom namespace support for configuring Spring using Groovy
  • [GRAILS-3945] - "run-app/war --https" ignores "server.port" setting
  • [GRAILS-3946] - Released public Grails plugin was not found in repository
  • [GRAILS-3948] - Domain Objects with transient fields cannot be instantiated via named parameters anymore
  • [GRAILS-3952] - generated test case has error when a controller has package
  • [GRAILS-3956] - Views cannot be resolved from in-place plugins
  • [GRAILS-3958] - Merging of Objects back into hibernate session via .merge() works not as expected
  • [GRAILS-3960] - "Instance" in var names in scaffolding templates not applied everywhere.
  • [GRAILS-3963] - Fail to use Spring Namespace in plugin
  • [GRAILS-3965] - Domain Classes referencing each other result in StackOverflowError (Error in org.hibernate.type.EntityType.getIdentifierOrUniqueKeyType)
  • [GRAILS-3968] - Erroneous double slash '//' and extra 'grails-app/views' in resource strings using render() with global template in taglib
  • [GRAILS-3970] - Cannot reference other namespaces from taglib
  • [GRAILS-3974] - Constraints for Hibernate mapped classes lead to HibernateException: contains is not valid without active transaction
  • [GRAILS-3979] - "ConfigureJetty" event is not fired in 1.1-beta3
  • [GRAILS-3983] - Resource bundle under grails-app/i18n are mapped to /grails-app/i18n rather than root
  • [GRAILS-3985] - Dynamic reload in dev env seems to be broken when changing a Domain class
  • [GRAILS-3986] - GSP pages fail to compile on windows due to the getGroovyPageFileName() method not escaping paths
  • [GRAILS-3987] - Domain classes not recognized on Windows
  • [GRAILS-3988] - Not possible to implement a custom property editor for Date.class
  • [GRAILS-3989] - Add proper error logging in case the "static mapping" property of a domain class contains errors or is not an instance of Closure
  • [GRAILS-3990] - Using enumType: ordinal no longer works to specify that an enum field should be persisted as an INT in the DB
  • [GRAILS-3993] - Can't access custom constraints in renderEditor.template / class loading issue
  • [GRAILS-3995] - index.gsp gets created in the wrong directory (grails-app/views) in "grails create-app"
  • [GRAILS-3998] - Wrong Plugin Controllers Used
  • [GRAILS-4000] - Bootstrap caused MultipleCompilationErrorsException by BuildConfig.groovy
  • [GRAILS-4001] - Default src/templates/scaffolding does not work in WAR deployed application under Tomcat
  • [GRAILS-4006] - renderOneToMany method contains blocking error
  • [GRAILS-4015] - NullPointerExpect in JSON converter
  • [GRAILS-4018] - .launch eclipse ide file doesn't support projects in directories with spaces
  • [GRAILS-4020] - ReleasePlugin throws a MissingPropertyException when get a error.
  • [GRAILS-4034] - mistake in GroovyPagesTemplateEngine.setReloadEnabled method
  • [GRAILS-4035] - Using command objects is not thread safe

Improvement

  • [GRAILS-426] - Provide more debugging information when a null pointer is encountered in a GSP
  • [GRAILS-2316] - URLMapping patterns should include the option of exception types
  • [GRAILS-2729] - In dev mode, make showSource=true output annotate code with line numbers, and highlight line / show GSP source in error page
  • [GRAILS-2807] - Obtain the whole model passed to the view in the view
  • [GRAILS-3129] - Improve GrailsDataBinder to allow binding of one-to-many collections
  • [GRAILS-3370] - g:textArea and g:textField tags ignore body()
  • [GRAILS-3677] - The grails target "test-app" is not UTF-8 encoding
  • [GRAILS-3838] - Make <g:datePicker /> default precision configurable
  • [GRAILS-3839] - Resolve <g:formatDate /> default format from message bundles
  • [GRAILS-3840] - Resolve <g:formatNumber /> default format from message bundles
  • [GRAILS-3943] - Add a mixed HTTP-HTTPS mode in "run-app"
  • [GRAILS-3944] - Add param to "run-app -https" to change the HTTP prot as well as the HTTPS port
  • [GRAILS-3957] - Save console script text and reload after a restart
  • [GRAILS-3976] - Scaffolding consistency
  • [GRAILS-3992] - Grails' filters shall be less obtrusive in filter-mapping
  • [GRAILS-4026] - Improve grails default log pattern
  • [GRAILS-4027] - provide access to the root logger in log4j DSL

New Feature

  • [GRAILS-2652] - Cannot upgrade a plugin on a Windows machine due to locked jars
  • [GRAILS-3524] - Pluggable webcontainer
  • [GRAILS-3880] - Support .validate() on arbitrary classes
  • [GRAILS-3913] - gorm should support user defined discriminator values
  • [GRAILS-3916] - support defining resolution order for plugin repos
  • [GRAILS-4010] - Add ability to specify required Grails version in plugin descriptor

Task

  • [GRAILS-4011] - Upgrade to Groovy 1.6 final
  • [GRAILS-4028] - document g:resource tag
  • [GRAILS-4087] - Schema attribute in static maping is missing in documentation reference

Wish

  • [GRAILS-4023] - Allow overriding serverContextPath or preferably any binding variable with System Properties

Edit/Copy Release Notes

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