Release Notes - Grails - Version 1.0.4 - HTML format

Sub-task

  • [GRAILS-2903] - Docs for g:set tag do not state what default scope is, have to refer to source
  • [GRAILS-2929] - Doc sections 6.2.1.1 and 6.2.2.1 both have title Variables and Scopes, should combine / rename
  • [GRAILS-3114] - 'xsi:schemaLocation' in applicationContext.xml should update to 2.5
  • [GRAILS-3201] - Add columnDefinition (or sqlType) to GORM DSL

Bug

  • [GRAILS-1140] - createLinkTo tag creates bad links to the files in the project root
  • [GRAILS-1194] - grails-debug should use existing JAVA_OPTS
  • [GRAILS-1223] - setting response.contentType to text/html causes exception
  • [GRAILS-1263] - Validator on transient field not functioning
  • [GRAILS-1365] - Float members not initialized in domain constructor unless passed as strings
  • [GRAILS-1502] - "grails console" does not load all the required files for use
  • [GRAILS-1585] - ServletContext.getInitParameter() doesn't work from Bootstrap class
  • [GRAILS-1598] - StackOverflowError (infinite recursion) calling super if method references an argument in a closure
  • [GRAILS-1624] - hql query error
  • [GRAILS-1651] - g:hasErrors fails if i manually reject a value without default message and without message arguments.
  • [GRAILS-1708] - URLCodec not available in Services
  • [GRAILS-1765] - stack over flow when using builder to create HTML form
  • [GRAILS-2000] - Problem w/ Runapp.groovy - mem usage inc even if threads (except main) are suspended
  • [GRAILS-2032] - Association refers to an unmapped class
  • [GRAILS-2088] - Previous button generated by <g:paginate> tag not working when params="${params}
  • [GRAILS-2160] - Default values for constraints aren't documented.
  • [GRAILS-2540] - [hasErrors, fieldValue] - validation fails when domain has duplicate attribute name in embedded class
  • [GRAILS-2556] - Property offeringDate must be a valid Date even if that field allows null
  • [GRAILS-2698] - bindData creates a new referenced object instead of setting to null when value is "null"
  • [GRAILS-2739] - The exception is always null in the afterView closure in a filter
  • [GRAILS-2741] - Cascade validation fails with embedded domain objects when they have a custom validator
  • [GRAILS-2768] - grails prod war gives 'index out of range 0..-1 (index=0) and won't give me a war file
  • [GRAILS-2774] - g.actionSubmit ignored when form has enctype="multipart/form-data"
  • [GRAILS-2777] - Grails Clean script doesn't work if JAVA_HOME contains a space
  • [GRAILS-2783] - UrlMapping for status code and view isn't working
  • [GRAILS-2794] - addTo[Children] fails without error when children has SQL error
  • [GRAILS-2808] - Validation of collection minSize works only after entity was persisted
  • [GRAILS-2817] - BigDecimal decimal point is misinterpreted in locales that use , (comma) instead of . (point)
  • [GRAILS-2832] - Setting Domain object updates first reference
  • [GRAILS-2854] - Strange error using SQL Query w/ GORM
  • [GRAILS-2855] - Data binding a field on an embedded object that is nullable isn't set to null for an empty string
  • [GRAILS-2869] - After filter never executed for error.gsp
  • [GRAILS-2887] - "not" criteria applied to an association does an "or" of the "not" of the sub-criteria instead of a "not" of the "or"
  • [GRAILS-2914] - Stacktraces from errors occuring in HandlerInterceptor are not sanitized
  • [GRAILS-2923] - When defining custom ORM mappings, associations are eagerly fetched by default
  • [GRAILS-3019] - Date type property in command object doesn't work
  • [GRAILS-3034] - Http session not visible in the layout when first created
  • [GRAILS-3039] - Base64 codec incorrectly inserts LF into long values
  • [GRAILS-3041] - When putting multple controllers in the same test method, they all share the same request and response objects
  • [GRAILS-3059] - AJAX: the asynchronous parameter seems to have no effect when using the remoteFunction tag
  • [GRAILS-3069] - FindBugs raising a bunch of warnings
  • [GRAILS-3073] - New actions added to controller in dev mode are not dynamically reloaded
  • [GRAILS-3081] - error.gsp still invoked when handling 500 erors with code mapping
  • [GRAILS-3083] - Assignment of Map containing > 1 domain objects to flash scope throws java.util.ConcurrentModificationException
  • [GRAILS-3084] - "unique" constraint breaks cascading create
  • [GRAILS-3087] - Fail to use a dot to separate two variables in UrlMappings
  • [GRAILS-3088] - Premature end of file
  • [GRAILS-3092] - Classpath should only include jstl-${servletVersion}.jar and standard-${servletVersion}.jar while using run-app
  • [GRAILS-3100] - CLONE -Grails Command Line does not run under Windows
  • [GRAILS-3103] - Unique constraint doesn't work for multiple properties
  • [GRAILS-3109] - submitting the form generated from the formRemote causes 404 in Grails 1.0.3
  • [GRAILS-3112] - invalid link created from reverse url mapping containing **
  • [GRAILS-3128] - The PluginManagerHolder uses an InheritableThreadContext to store the PluginManager instance, what leads to a NullPointerException in the PluginTagLib of the Grails homepage application
  • [GRAILS-3131] - String id not properly decoded (regression)
  • [GRAILS-3145] - render Domain as XML or JSON failing in 1.0.3 if there is an enum in Domain class
  • [GRAILS-3151] - Changes to domain object within an event interceptor aren't necessarily persisted.
  • [GRAILS-3153] - g:link tag does not produce correct links based on UrlMappings if UrlMappings does not explicitly specify 'action' (for default action)
  • [GRAILS-3178] - GORM Criteria builder listDistinct seems broken - returns all classes queried, instead of only those matching criteria
  • [GRAILS-3191] - GORM many-to-many - wrong mapping in binding table
  • [GRAILS-3200] - Defining a relationship with ArrayList will create tinyblob field in MySQL instead of extra table
  • [GRAILS-3203] - JAR files in lib/ not added to classpath
  • [GRAILS-3205] - Problem using g:submitToRemote and g:actionSubmit together.
  • [GRAILS-3213] - Remoting: Please upgrade Spring 2.5.4 to 2.5.5
  • [GRAILS-3242] - WebFlow lock up
  • [GRAILS-3253] - get method on Domain class does not work if id = 0
  • [GRAILS-3255] - Documentation: incorrect code example in User Guide 7.2 Validation
  • [GRAILS-3257] - Exception in OSIV Interceptor causes endless servlet loop when combined with mapping 500 codes to a controller action
  • [GRAILS-3267] - GORM associations not available in integration tests
  • [GRAILS-3268] - "event" attribute of <g:link> rendered in the HTML
  • [GRAILS-3269] - flowExecutionKey not included in Ajax tags
  • [GRAILS-3276] - DomainClass.get(0) returns null even if zero is a valid ID
  • [GRAILS-3291] - A message regarding datasources defined or transactional isolation set to false on the test case is presented and the tests are aborted
  • [GRAILS-3328] - Embedded UserTypes written in Java cause exception in Grails domain binding
  • [GRAILS-3331] - Filters, before interceptor actionName not set [re-open GRAILS-2279]
  • [GRAILS-3342] - Parameters are not URL decoded
  • [GRAILS-3357] - Instantiating a controller from within a filter, then calling render("view") on the controller action produces a blank response
  • [GRAILS-3369] - URL Mappings strange bug - 404 obtained when it should not - too many mappings?
  • [GRAILS-3371] - SortedSet inconsistency
  • [GRAILS-3380] - Controller attribute "defaultAction" is missing in docs
  • [GRAILS-3382] - Grails startup fails with a non sense error message
  • [GRAILS-3383] - grails-macros.xml contains a reference to a SNAPSHOT jar
  • [GRAILS-3388] - Setting level "debug" on org.codehaus.groovy.grails.orm.hibernate causes NPE exception in GORM when using enums
  • [GRAILS-3393] - Mixing named and normal arguments in the render method causes a StockOverflowError
  • [GRAILS-3394] - Scaffolding does not work for domain class called "Owner"
  • [GRAILS-3418] - pluginContextPath is unavailable within plugin
  • [GRAILS-3438] - WebFlow does not work on GlassFish
  • [GRAILS-3461] - JSON converter does not serialise hasMany relations
  • [GRAILS-3462] - GORM - commiting failed transaction when it should just roll it back
  • [GRAILS-3471] - serialization of enum properties does not work
  • [GRAILS-3485] - src/grails/grails-macros.xml: <pathelement location="${grails.home}/dist/grails-cli-1.0.3-SNAPSHOT.jar"/> should changed to 1.0.4
  • [GRAILS-3486] - [Fatal Error] :-1:-1: Premature end of file. Fixed:GRAILS-3088, Could someone provide a minor patch for 1.0.3
  • [GRAILS-3490] - Webflow eats pooled database connections
  • [GRAILS-3502] - actionName of before interceptor in filters return null when default action is used
  • [GRAILS-3527] - NPE when using response.sendError(500) or response.sendError(500,'msg')
  • [GRAILS-3534] - Classes can be created in packages, but run-app/generates fails with packaged classes
  • [GRAILS-3559] - <g:form> url attribute doesn't support GString as URL
  • [GRAILS-3563] - "h4." appearing in http://grails.org/doc/1.0.3/guide/14.%20Grails%20and%20Spring.html
  • [GRAILS-3567] - cascading delete on one-to-one relation not working
  • [GRAILS-3572] - cfg.GrailsHibernateUtil did not find superclass names when mapping inheritance.... at startup

Improvement

  • [GRAILS-950] - Show nicer error when Jetty port already in use, without 200 lines of trace
  • [GRAILS-1019] - g:select should take a disbaled="${expr}" to allow dynamic disabling based on model state
  • [GRAILS-1179] - Add platform-independent SVN support to Grails
  • [GRAILS-1201] - Configure validationMode for spring/resources.xml
  • [GRAILS-1426] - Use quote by default in identifiers
  • [GRAILS-1644] - Please expose the org.springframework.validation.Errors object within a controller action
  • [GRAILS-1746] - Script 'upgrade' without the need to interact (y/n)
  • [GRAILS-1850] - Add required as a contraint type
  • [GRAILS-2214] - "grails-upgrade" should migrate xxxDataSource.properties settings to DataSource.groovy
  • [GRAILS-2296] - Add restrictions of (HQL) query methods
  • [GRAILS-2394] - Add reference to i18n temaplates plugin in new section about Internationalization and Scaffolding
  • [GRAILS-2395] - Add reference to install-templates in Scaffolding chapter
  • [GRAILS-2429] - Improve External Configuration Handling
  • [GRAILS-2618] - GrailsDataBinder: allow to register custom editor?
  • [GRAILS-2829] - It shall be possible to pass the current hibernate session (e.g. from inside the callback) to the domain class's persistence methods
  • [GRAILS-2848] - Add documentation to state what implicit variables are available for TagLib
  • [GRAILS-2866] - Amend docs to explain how to handle "all" format in withFormat
  • [GRAILS-2877] - Allow registering custom global property editors (e.g. for Date)
  • [GRAILS-2879] - Remove unnecessary files created during 'create-app'
  • [GRAILS-2930] - Docs do not mention use of command objects in data binding section of Web Flows
  • [GRAILS-3053] - Upgrade version of ehcache bundles with Grails
  • [GRAILS-3085] - Document a best practice using GORM delete() with failure
  • [GRAILS-3089] - Documentation on Lists, Sets and Maps needs improvement because of its dangers
  • [GRAILS-3090] - Docs for if tag do not show "env" or "test" as optional - one is required as a minimum
  • [GRAILS-3096] - Add link from render method docs to the Render method / controllers section in user guide
  • [GRAILS-3121] - Add an argument to the lock() dynamic method to specify the lock mode
  • [GRAILS-3135] - DataBindingUtils when bind source is request, bind twice
  • [GRAILS-3175] - Make ApplicationContextHolder equivalent to ApplicationHolder
  • [GRAILS-3179] - Optimize checkForChanges logic in DefaultGrailsPluginManager
  • [GRAILS-3208] - Adding the ability to rerun failed unit and integration tests
  • [GRAILS-3377] - Many-To-Many and addTo*(Object). Object eager fetching
  • [GRAILS-3456] - Upgrade SVNKit to 1.2.0
  • [GRAILS-3467] - Change "Events.groovy" to be "_Events.groovy"
  • [GRAILS-3503] - response in a filter should be changed from Sitemesh PageResponseWrapper to HttpServletResponse
  • [GRAILS-3564] - Add more specific events to GenerateAll.groovy script
  • [GRAILS-3565] - Add option to suppress Junit HTML reports and plain text output from TestApp.groovy

New Feature

  • [GRAILS-982] - Support running different Grails applications with different Grails versions
  • [GRAILS-1908] - Virtual Host support in UrlMappings file
  • [GRAILS-2856] - add target create-filter
  • [GRAILS-2946] - Add script to generate all for all domain classes: uber-generate-all
  • [GRAILS-3104] - Script to start grails using a WAR without rebuilding
  • [GRAILS-3176] - Config.groovy to generate a log4j.xml instead of log4j.properties
  • [GRAILS-3227] - i18n does not work properly for use with search engines
  • [GRAILS-4357] - Searchable plugin to support filters and sortfield- patch to do it included

Task

  • [GRAILS-3337] - Upgrade version of Jetty bundled with Grails

Wish

Edit/Copy Release Notes

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