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

Sub-task

  • [GRAILS-183] - Add new implicit columns for date created and last updated
  • [GRAILS-879] - Look at changing names of test-app and run-app to test and run as they apply to both plugins and apps
  • [GRAILS-1163] - Resolve the ambiguity of having 2 places to set a version in plugin projects - in the groovy file and in application.properties
  • [GRAILS-1175] - Implement dependency resolution and the ability to specify dependencies with a DSL so plugins can be packed without dependencies
  • [GRAILS-1474] - Stop copying plugin resources to web-app/WEB-INF/plugins
  • [GRAILS-3940] - Add default sort and order by property to domain classes
  • [GRAILS-4992] - update the docs about config option grails.gorm.save.failOnError = true

Bug

  • [GRAILS-191] - Form validation problem with radio buttons
  • [GRAILS-375] - Unable to execute 'grails generate-all' when java loggin is set to FINEST
  • [GRAILS-1286] - Running tests creates TEST-TestSuite.xml in project root
  • [GRAILS-1509] - Things in Grails that use the controller name by default are potentially wrong
  • [GRAILS-2196] - Resources like /WEB-INF/web.xml not available for getServletContext().getResourceAsStream(...) with grails run-app
  • [GRAILS-2416] - WAR re-deploment error in Tomcat
  • [GRAILS-2544] - Stopping Tomcat Context and doing undeploy does not completely shut down app, grails jars still locked
  • [GRAILS-2980] - Saving or updating a collection bypasses validation of members
  • [GRAILS-3140] - Grails redirect not working when installed in Tomcay using Terracotta
  • [GRAILS-3445] - 'as XML' transformation fails for Embedded domain class
  • [GRAILS-3602] - ReadOnlyPropertyException inside mockDomain
  • [GRAILS-3607] - Unable to use bindData for objects in a Flow
  • [GRAILS-3718] - Error in Dutch message bundle
  • [GRAILS-3780] - Grails Flow broken for file upload
  • [GRAILS-3815] - Forms in a grails app can not easily submit a PUT or a DELETE (or X-HTTP-Method-Override)
  • [GRAILS-4140] - Rootloader not populated with extra compile dependencies from 'grails.compiler.dependencies'
  • [GRAILS-4170] - Multiple plug-in repositories or internal repositories using authenticated SVN are not supported
  • [GRAILS-4207] - Paginating results retrieved by executeQuery causes ClassCastException
  • [GRAILS-4249] - Documentation on Logging Configruation is wrong
  • [GRAILS-4264] - Documentation not correct for RollingFileAppender configuration
  • [GRAILS-4283] - Within a plugin project, encoding is not set to UTF-8
  • [GRAILS-4359] - pluginContextPath is null when using a layout provided by a plugin
  • [GRAILS-4367] - createTemplate(InputStream) in GroovyPagesTemplateEngine: NullpointerException
  • [GRAILS-4395] - Add root logger - prevent silent failures
  • [GRAILS-4410] - When run-app the script is auto creating a plugins folder inside web-app
  • [GRAILS-4424] - Incorrect display of plugin i18n non-english messages
  • [GRAILS-4427] - Document default.date.format and default.number.format
  • [GRAILS-4428] - API Issue: grails.util.BuildSettings is missing
  • [GRAILS-4511] - Added dependencies listed in ivy.xml don't get loaded when issuing "grails run-app"
  • [GRAILS-4536] - Logging documentation mentions fileName instead of file
  • [GRAILS-4573] - JSP taglibs in GSP broken for nested tags
  • [GRAILS-4654] - MissingMethodException in deployed app for list() method
  • [GRAILS-4722] - Correct mapping for an embedded domain object containing an Enumerated property
  • [GRAILS-4729] - URL mapping can conflict with form parameters
  • [GRAILS-4838] - Cannot bind to write-only properties, results in NotReadablePropertyException
  • [GRAILS-4843] - Occasional StackOverflow when perform binding using properties = params
  • [GRAILS-4857] - g:javascript tag does not support plugin= attribute to reference js from a plugin
  • [GRAILS-4874] - Grails sometimes upgrades plugin versions with out notifying developer
  • [GRAILS-4898] - "grails war" is copying into the war resources from old plugins
  • [GRAILS-4920] - JSON/XML Converters failing with lazy loading
  • [GRAILS-4936] - fieldValue returns 'null' as a string
  • [GRAILS-4945] - Documentation for allowedMethods shows incorrect example
  • [GRAILS-4959] - create and delete actions are using save|delete(flush: true) but update action not
  • [GRAILS-4961] - Plugin acegi compile errors under Grails 1.2-M2
  • [GRAILS-4964] - mockDomain in unitTest: Identity property not found, but required in domain class [Abc]
  • [GRAILS-4965] - generate-views overwrites existing views without asking to overwrite
  • [GRAILS-4970] - Link to source in online documentation does not work anymore
  • [GRAILS-4972] - Cannot register multiple ObjectMarshallers with same priority
  • [GRAILS-4980] - one-to-one relationship doesn't work
  • [GRAILS-4981] - findBy in validation constraint causes error if another instance is associated
  • [GRAILS-4983] - Plugin list occasionally corrupted during release-plugin process
  • [GRAILS-4987] - IntelliJ
  • [GRAILS-4993] - Grails plugin repositories don't work with file:// protocol
  • [GRAILS-4997] - Ivy can not resolve dependencies via ant build commands
  • [GRAILS-5000] - Plugin install/upgrade mechanism deletes folder in grails.plugin.location.myPlugin
  • [GRAILS-5001] - Web flow URL change 1.0.x -> 1.1.1 breaks filter
  • [GRAILS-5007] - java.lang.NoClassDefFoundError error when running a script that uses a class in src/groovy
  • [GRAILS-5009] - Services and Controllers are not found when name starts with two uppercase letters
  • [GRAILS-5011] - Wrong Links Generated For Controllers Which Begin With 2 Upper Case Letters
  • [GRAILS-5013] - fetch:"join" does not select all columns of hasMany class
  • [GRAILS-5014] - Java files in src/java should be compiled with option encoding="UTF-8", just like groovy files
  • [GRAILS-5016] - Hibernate mapping problem with an embedded component if it contains an enum and is a domain class
  • [GRAILS-5022] - Unable to resolve domain class when doing grails war
  • [GRAILS-5024] - Using enums in view GSP causes java.lang.NullPointerException: Cannot get property 'Type1' on null object
  • [GRAILS-5034] - Unable to deploy "prod" war due to strange folder permission
  • [GRAILS-5037] - countby method on mockdomain not working
  • [GRAILS-5039] - Regression: REST url mappings broken in 1.2M2 since 1.1.1
  • [GRAILS-5055] - Server parameter to eventConfigureJetty is null in run-war
  • [GRAILS-5056] - Can't register custom exception handlers
  • [GRAILS-5058] - Grails maven artifacts
  • [GRAILS-5063] - When creating afterInsert, afterUpdate and afterDelete handlers in any domain class, they all appear as fields in their respective views.
  • [GRAILS-5064] - Creating an instance of a domain class with a hasMany relationship after calling mockDomain causes a NullPointerException
  • [GRAILS-5065] - problems in grails/maven and related files
  • [GRAILS-5074] - Order of columns in generated DDL is not as in domain class
  • [GRAILS-5080] - Services circular references fail with transactional true but succeeds when false
  • [GRAILS-5092] - StructuredPropertyEditor handling of null return value from assemble(...)
  • [GRAILS-5095] - Plugins not hosted in grails-plugins SVN are not included in plugin list obtained by grails list-plugins
  • [GRAILS-5107] - <g:message> tag broken / causing malformed markup
  • [GRAILS-5109] - Gsp precompile fails when application has name of pure number (for example: "100")
  • [GRAILS-5110] - flawed use of Class.isInstance(Object) in ConstrainedProperty.isEmail() resulting in TargetMissingPropertyException
  • [GRAILS-5111] - After edit domain model the redirect to show.gsp shows stale data
  • [GRAILS-5112] - Cannot bind associations using JSON packets
  • [GRAILS-5115] - GrailsExceptionResolver assumes that Exception's cause is instance of Exception; it might also be a java.lang.Error
  • [GRAILS-5116] - Connection pool gets locked up (Commons Pool bug POOL-149)
  • [GRAILS-5123] - Grails dependency resolver dsl bug
  • [GRAILS-5126] - g:formatNumber doesn't support lossless BigDecimal formatting
  • [GRAILS-5129] - File upload doesn't stop after MaxUploadSizeExceededException was thrown
  • [GRAILS-5130] - Foreign Key constraints duplicated when dbCreate='update' is set
  • [GRAILS-5131] - generate-views fails inside plugin
  • [GRAILS-5134] - 3x performance slowdown compared to 1.2M1
  • [GRAILS-5138] - Wrong URL-Rewrites for Controller-Mappings
  • [GRAILS-5140] - IllegalStateException: Unable to locate bridged method for bridge method
  • [GRAILS-5141] - Select tag attributes ignore/unescapes default codec
  • [GRAILS-5145] - Logging config does not work when single package name listed in config
  • [GRAILS-5159] - hibernate-ehcache dependency is missing (required for backwards compatibility)
  • [GRAILS-5160] - No such property: metaClass for class: org.codehaus.groovy.grails.web.pages.GroovyPageBinding
  • [GRAILS-5177] - Error executing post install script for hibernate-1.2-M3 on Mac OSX
  • [GRAILS-5198] - Typo in scripts/_GrailsInit.groovy

Improvement

  • [GRAILS-48] - provide a list or combobox of domain classes that are known and can be used for scaffolding views and controllers
  • [GRAILS-279] - grails war -- Error accessing views for controllers that use "def scaffold = SomeDomainClass"
  • [GRAILS-433] - Surely along with dev/prod/test datasources + log settings, we need resources.xml to be set per deployment mode?
  • [GRAILS-564] - Have scaffolding display friendly names instead of camel case class names
  • [GRAILS-743] - Create checkboxes for boolean property in scaffolded show and list views.
  • [GRAILS-845] - Refactor scripts to not have built in knowledge of artefact requirements (dirs etc) and make this declarative in plugins
  • [GRAILS-846] - Refactor scripts to not have preamble code, as this is executed multiple times if the script is listed in multiple dependencies for a target
  • [GRAILS-1144] - Set Groovy compiler output location in generated projects
  • [GRAILS-1468] - Make Grails applications easier to import into SVN by avoiding polluting app tree where possible
  • [GRAILS-2653] - BeanBuilder should support <import/> from spring xml
  • [GRAILS-2784] - REST calls: allow more flexibility in parsing of submitted date values
  • [GRAILS-4106] - generate War - check need jar
  • [GRAILS-4191] - Enable version to be put in manifest of Grails war file
  • [GRAILS-4444] - Revers URL mapping needs some fixup to be more accurate
  • [GRAILS-4858] - createLinkTo/resource tags do not support "plugin" attribute required to pull in content from a plugin into an app-supplied GSP
  • [GRAILS-4931] - Scaffolding templates are not coded consistently
  • [GRAILS-4960] - Enhance scaffolding to make completely i18n aware
  • [GRAILS-4977] - Performance issue: dynamic findBy method executes sql query twice when more than one result found.
  • [GRAILS-4984] - GORM save, merge and delete should have option to use flush: true and failOnError: true by default
  • [GRAILS-4999] - Support zip only plugin releases in repository so that plugin sources can be managed with Git/Mercurial etc.
  • [GRAILS-5004] - BeanBuilder: allow plugins to read and modify existing bean definition properties
  • [GRAILS-5008] - Load resource bundles from sub-directories of grails-app/i18n
  • [GRAILS-5122] - Provide thread-safe API for GrailsPluginUtils
  • [GRAILS-5128] - Add localMaven resolver to resolve local maven repository (~/.m2/repository)

New Feature

  • [GRAILS-26] - Support manual creation of database schema with GSQL
  • [GRAILS-137] - Scaffold unit tests for the controllers' CRUD operation calls
  • [GRAILS-740] - Show sanitized stacktraces when errors occur (error.gsp)
  • [GRAILS-1999] - Plugins need a compile-only dependency scope
  • [GRAILS-4963] - support findWhere and findAllWhere on named queries
  • [GRAILS-4994] - Add support for plain svn protocol for plugin repositories (internal use)
  • [GRAILS-5043] - Add Support For Passing Parameters To Named Criteria
  • [GRAILS-5086] - tomcat remote deployment scripts

Wish

  • [GRAILS-5023] - Grails script for remote tomcat server upload of war file
  • [GRAILS-5171] - JSON and XML marshalling: export instance version (maybe as option)

Edit/Copy Release Notes

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