Release Notes - Grails - Version 1.1.1 - HTML format

Sub-task

  • [GRAILS-3163] - Make binding errors behave more like validation errors
  • [GRAILS-4290] - Improve data binding to support java.sql.Date
  • [GRAILS-4291] - Fix datePicker tag to not create hour/minute fields for java.sql.Date properties
  • [GRAILS-4360] - controllerName and actionName not known when using ControllerUnitTestCase

Bug

  • [GRAILS-1407] - ValidationTagLib.hasErrors should iterate over the models and allow access to individual model elements
  • [GRAILS-1530] - datePicker noSelection does not work when editing a already persisted date
  • [GRAILS-1547] - Combining JNDI, GrailsAnnotationConfiguration and 'grails war' yields an error:
  • [GRAILS-1620] - Command Object initialization crashes when request parameters having a dot in their name are present
  • [GRAILS-1685] - use the sql server 2000 datasource
  • [GRAILS-1709] - grails search plugins in all plugins-folders (recursiv??)
  • [GRAILS-1732] - Xfire plugin does not work anymore
  • [GRAILS-1748] - 'src/groovy' class cannot be dynamically loaded from custom artefact
  • [GRAILS-1751] - Accessing to domain class properties fails
  • [GRAILS-1757] - FindAllPersistentMethod class expects max and order values in pagination parameters to be integers
  • [GRAILS-1771] - Making changes in a service gives ClassCastException and requires restart
  • [GRAILS-1794] - Association property with nullable:false constraint is generated as nullable in the database
  • [GRAILS-1795] - Incorrect web.xml generated for web application version 2.5
  • [GRAILS-1796] - LazyInitializationException when retrieving model to the not-standard view
  • [GRAILS-1810] - Many to Many relationship causes Hibernate exception when using SortedSet
  • [GRAILS-1911] - malformed GORM DSL mapping causes grails hang
  • [GRAILS-1916] - Moving a class from src/groovy to grails-app/domain leads to MissingMethodException
  • [GRAILS-1941] - Bug with Caching of old TestCase-Names in Reports
  • [GRAILS-1951] - Ant build fails
  • [GRAILS-1975] - 0.6 to 1.0-RC2: Assigning to Domain Object Dynamic method properties triggers ReadOnlyPropertyException
  • [GRAILS-1976] - Spring session manager creation pb during a test-app command
  • [GRAILS-2005] - Multiple resources.xml in war,that is confusable
  • [GRAILS-2012] - log output goes to console in integration tests not trace files
  • [GRAILS-2090] - g:formRemote doesn't use asynchronous property
  • [GRAILS-2117] - cannot lazy load collection from within a layout template
  • [GRAILS-2123] - Table not found with Java Entity and @Id @GeneratedValue
  • [GRAILS-2131] - Oracle XMLType library fails Grails startup
  • [GRAILS-2146] - Cannot run Application in Eclipse (No Problem outside with run-app) due to Problem Parsing the Configuration.
  • [GRAILS-2148] - ConfigSlurper Not Supporting Custom Loggers
  • [GRAILS-2171] - ConverterUtils has dependency on org.hsqldb.lib.Collection
  • [GRAILS-2270] - Unable to alter column name using grails orm in subclass
  • [GRAILS-2301] - RC4 config.groovy breaks environment specific logging
  • [GRAILS-2381] - Tag encodeAs in documentation, but not available in build
  • [GRAILS-2414] - Dynamic methods not found when a domain class extends another class from plugin
  • [GRAILS-2437] - Creating a FormTagLib class hides access to the built-in <g:form> tag.
  • [GRAILS-2481] - @EntityListeners and @PrePersist JPA Annotation not working
  • [GRAILS-2492] - Grails 1.0.1 - Domain classes with inheritance can't be created / savec in BootStrap.groovy
  • [GRAILS-2498] - UrlMappings fails if paramether name is 'name'.
  • [GRAILS-2557] - render tag appears to be broken - trying to include a page
  • [GRAILS-2635] - Using absolute="true" with g:link / g:createLink always includes context path
  • [GRAILS-2661] - GrailsControllerClass CONTROLLER constant is defined incorrectly
  • [GRAILS-2718] - web.xml ends up being zero length in war
  • [GRAILS-2731] - Dynamic Finder With Inheritance Regression in 1.0.2
  • [GRAILS-2789] - bindData ignores prefix
  • [GRAILS-2824] - Multiple one to many sets mapped via XML cause BeanCreationException
  • [GRAILS-2825] - Domain Object Mapping Fails Silently
  • [GRAILS-2902] - Creating RSS feed with render causes Stackoverflow when using a link
  • [GRAILS-2934] - Presence of 'params' argument in g:link and createLink breaks custom URL mappings
  • [GRAILS-3072] - install-plugin error
  • [GRAILS-3080] - URL Mapping to multiple HTTP methods broken
  • [GRAILS-3117] - Use of writeEntireProperty attr for tag pageProperty results in a grails runtime exception
  • [GRAILS-3126] - Trees don't map correctly when properties are defined explicitly instead of generated by hasMany/belongsTo
  • [GRAILS-3220] - Application containing plugins A and B where plugin B depends on plugin A gets 404's on views for plugin A's resources (plugin.xml issue)
  • [GRAILS-3239] - org.hibernate.exception.ConstraintViolationException not caught
  • [GRAILS-3256] - test-app script didn't recompile the domain class test after modification
  • [GRAILS-3272] - NPE in hibernate integration logging
  • [GRAILS-3280] - Test failure stacktrace includes too much unnecessary information about internals
  • [GRAILS-3287] - Filters are initialized prior to the Bootstrap which I think doesn't make sense...
  • [GRAILS-3327] - Domain class injected services null in constraints closure
  • [GRAILS-3360] - The default value of grails.serverURL in development mode does not include the app context path
  • [GRAILS-3368] - base="" and absolute= "true" in g.link dont produce the expected links
  • [GRAILS-3416] - Enabling debug log level of org.codehaus.groovy.grails.orm causes NPE on startup
  • [GRAILS-3440] - bindData(targetObject, params, excludes) doesn't work properly
  • [GRAILS-3442] - Static type service cannot be reloaded
  • [GRAILS-3460] - Hibernate event OnLoad doesnt get called in integration test
  • [GRAILS-3475] - Render method within a dynamic TagLib
  • [GRAILS-3484] - With "grails run-app ", Error automatically restarting container: IO error scanning directory
  • [GRAILS-3492] - Lazy registration of dynamic methods not thread safe
  • [GRAILS-3495] - GSP putting id on form will be interpreted as id in params.id
  • [GRAILS-3499] - Properties of nullable components (embedded) not null
  • [GRAILS-3510] - all functions called from inside of a webFlow are interpreted as events, and return events rather than the objects you might be trying to return
  • [GRAILS-3530] - Events Can't Set Transient Values?
  • [GRAILS-3533] - Static Scaffolding generated mssing (flush: true) in instance.save() generates a "object id null" in show.gsp
  • [GRAILS-3576] - ClassCastException in job when a subclass method from a base classe reference coming from a lazilly fetched collection is invoked
  • [GRAILS-3587] - Dependency Injection Fails for Domain Event Closures
  • [GRAILS-3588] - Domain class inheritance broken
  • [GRAILS-3618] - Grails binary from codehaus throws out a NoClassDefFoundError
  • [GRAILS-3672] - HTTP payload not available to custom servlet
  • [GRAILS-3747] - Idle grails app uses 10% CPU
  • [GRAILS-3748] - Hibernate Proxies not loading subclasses when methods called
  • [GRAILS-3873] - ConfigurationHolder.config is null for test-app
  • [GRAILS-3955] - TagLibs not reloading
  • [GRAILS-3973] - Rendering JavaScript-Tag fails with SiteMesh
  • [GRAILS-3981] - CLONE -Property offeringDate must be a valid Date even if that field allows null
  • [GRAILS-4025] - delete-orphan mapping seems to be ignored
  • [GRAILS-4037] - domainobject.properties throws NullPointerException
  • [GRAILS-4102] - Grails 1.1.x and 1.0.4 user guide should include GlassFish v3 Prelude as supported container.
  • [GRAILS-4121] - removeFrom not deleting records
  • [GRAILS-4131] - Content Negotiaton broken
  • [GRAILS-4137] - i18n displays invalid characters (ex: romanian chars) when rendering an error page
  • [GRAILS-4141] - Webflow: Dependency injection not working
  • [GRAILS-4162] - Upload multipart form via <g:submitRemote> does not pass a MultipartHttpServletRequest to the controller
  • [GRAILS-4171] - Plugin Repository Discovery not possible with https and user/pass
  • [GRAILS-4172] - Hibernate throws no session error
  • [GRAILS-4183] - When using Grails 1.1 and Compress plugin, pages are gzipped but are not sent with the proper Content-Encoding headers
  • [GRAILS-4196] - Enhanced enum support in 1.1-RC2 broken if column mapping specified
  • [GRAILS-4217] - Broken link in scaffolding documentation
  • [GRAILS-4230] - ClassCastException when access injected id property
  • [GRAILS-4233] - Controller for "Category" domain class fails
  • [GRAILS-4238] - Creating a domain class instance that has a hasMany relationship after calling mockDomain results in a NullPointerException
  • [GRAILS-4242] - Dereferencing a polymorphic one-one or many-one relationship results in IllegalArgumentException / ClassCastException
  • [GRAILS-4245] - Problems in generated ant build.xml
  • [GRAILS-4248] - Cascading deletes not handled properly
  • [GRAILS-4251] - Render dynamic method (controllers) plugin param doesn't take into account if the plugin is base plugin
  • [GRAILS-4255] - Folders Missing in Grails 1.1 release or incorrect build.properties file
  • [GRAILS-4257] - XML unmarshalling params
  • [GRAILS-4258] - Strange redirection in scaffold update action
  • [GRAILS-4259] - Log4j -> rollingFile -> No output stream or file set for the appender named [???]
  • [GRAILS-4263] - Unit Testing -> Domain class -> Mock -> findAll -> java.lang.NullPointerException
  • [GRAILS-4266] - Typo in JavascriptTagLib.groovy, line 291 (out = new PrintWriter(out))
  • [GRAILS-4270] - controller's redirect() demands the parameter 'controller' although it is defined as optional in the reference
  • [GRAILS-4271] - Unit-Test's mockFor isn't unregistered for static methods
  • [GRAILS-4273] - Integration-Tests don't revert DB Content
  • [GRAILS-4277] - When using app.servlet.version=2.5, wrong web descriptor created. Impossible to deploy WAR to Tomcat
  • [GRAILS-4278] - Grails 1.1 wont deploy to jboss 5
  • [GRAILS-4280] - Can no longer over-ride Grails tablib since 1.1-beta3
  • [GRAILS-4284] - Post Redirect Get (PRG) is broken (1.0.4 was fine)
  • [GRAILS-4285] - Embedded component mapping issue
  • [GRAILS-4288] - URLMappingsFilter NullPointerException in Tomcat on upgrade
  • [GRAILS-4341] - 1.1 scaffolding still uses deprecated createLinkTo instead of g:resource
  • [GRAILS-4346] - Composite key mapping incorrectly adds id column to table
  • [GRAILS-4347] - Deployment in tomcat with controllers that are still using dynamic scaffolding causes problems. Looks for Controller.groovy.
  • [GRAILS-4349] - Custom PropertyEditor getAsText()method never called
  • [GRAILS-4352] - return statments in controllers are ignored
  • [GRAILS-4365] - grails lost commandline interpreter?
  • [GRAILS-4368] - MissingMethodException: hibernate.support.ClosureEventTriggeringInterceptor.triggerEvent()
  • [GRAILS-4375] - UrlMapping that points to redirect action fails due to ErrorHandlingServlet
  • [GRAILS-4376] - log4j-configuration: 2 instances of stacktrace.log created
  • [GRAILS-4382] - Any class in a plugin named *DataSource are not compiled to the installed project
  • [GRAILS-4384] - Context issue with Grails 1.1-RC2 and Joda Time 0.4.1
  • [GRAILS-4385] - The parameter on CompileStart event is not String
  • [GRAILS-4386] - ClassCastException with Hibernate proxies and polymorphic collections
  • [GRAILS-4396] - grails war --nojars always use development environment
  • [GRAILS-4400] - UrlMapping incorrectly matches urls (wrong matching order)
  • [GRAILS-4403] - Emtpy _Events.groovy file results in NPE on grails run-app or grails war
  • [GRAILS-4412] - Generated scaffolding has unnessary redirect.
  • [GRAILS-4420] - MissingMethodException: hibernate.support.ClosureEventTriggeringInterceptor.triggerEvent()
  • [GRAILS-4426] - saving an invalid modified instance in a transactional service fails
  • [GRAILS-4430] - MissingMethodException should be thrown for methodMissing added in MockUtils
  • [GRAILS-4436] - Problem with BeanBuilder parent abstract beans
  • [GRAILS-4442] - Plugin resources not included in WAR
  • [GRAILS-4448] - Dynamic finders created by mockDomain are not torn down properly
  • [GRAILS-4449] - Inconsistent behavior between GSPResponseWriter and GroovyPageTagWriter
  • [GRAILS-4455] - groovy.lang.GroovyRuntimeException: Cannot read write-only property: constraints
  • [GRAILS-4457] - Command Line -> schema-export -> argument filename -> description contains invalid filename
  • [GRAILS-4460] - Cannot Integration Test Redirect w/o "controller" arg
  • [GRAILS-4462] - External configuration not working for datasource properties
  • [GRAILS-4468] - scaffolding does not take custom .gsp in scaffolding-folder into account
  • [GRAILS-4484] - Method scope/visibility not respected for Private
  • [GRAILS-4485] - Binding errors are not reported on nullable properties
  • [GRAILS-4492] - validation is ignored on lazyly-fetched nested objects
  • [GRAILS-4495] - MissingPropertyException thrown accessing properties of subclass when mockDomain(BaseClass) is used
  • [GRAILS-4500] - Error when building with Ant: The <path> type doesn't support the nested "file" element.
  • [GRAILS-4503] - Can't Use render(template:...) in an integration test
  • [GRAILS-4506] - GORM: NullPointerException loading application from gorm:sessionFactory
  • [GRAILS-4510] - Scaffolding doesn't work when running under Ant, or when deploying to a live Tomcat server
  • [GRAILS-4522] - Typo in grails docs unit testing section
  • [GRAILS-4528] - JavascriptTagLib is declared with dynamic-attributes=true, but does not implement the DynamicAttributes interface
  • [GRAILS-4529] - Unknown class defined in grails.tld
  • [GRAILS-4531] - WebFlowTestCase: g:link in view results in UrlMappingException if no controller param is set
  • [GRAILS-4535] - ScaffoldingViewResolver
  • [GRAILS-4537] - Creating a bean with a dynamic constructor does not populate the parent bean
  • [GRAILS-4619] - No typeMismatch in errors for java.lang.Integer type
  • [GRAILS-4686] - Grails constantly auto-reloads if a groovy source file is put in /src
  • [GRAILS-4743] - URL mapping and query parameter not mixing well together...
  • [GRAILS-4785] - No Service Injected
  • [GRAILS-4846] - UrlMapping incorrectly matches urls with parameters (wrong matching order)
  • [GRAILS-4933] - noSelection attribute of g:select tag does not support i18n messages

Improvement

  • [GRAILS-1353] - Please add documentation on how to uninstall ivy (and other install-* targets)
  • [GRAILS-2180] - use of field names in many-to-many mapping database tables should be documented
  • [GRAILS-2252] - Allow configuration of Hibernate NamingStrategy
  • [GRAILS-2764] - OpenSessionInView does not work with SiteMesh
  • [GRAILS-2822] - Unhelpful error message after typo in Config.groovy
  • [GRAILS-2912] - Upgrade commons-lang version in Grails
  • [GRAILS-2956] - Automatic Events from Grails Gant taks
  • [GRAILS-3079] - Make search-fields Safari friendly [code
  • [GRAILS-3157] - Customizations to build.xml are always overwritten by "grails upgrade"
  • [GRAILS-3230] - Grails for use with Eclipse fix needed
  • [GRAILS-3292] - Change the standard grails variable names on the params object on controllers to make them easily identifiable using a namespace
  • [GRAILS-3356] - Data binding with hasMany property
  • [GRAILS-3443] - Enhance grails war to allow building exploded war to enable integration with other build/deploy systems
  • [GRAILS-4133] - Grails 1.1 with JDK 1.5
  • [GRAILS-4272] - Show Helpful Error Message When Non-persistent Properties Found on Domain Objects
  • [GRAILS-4279] - Poor performance with render tag
  • [GRAILS-4289] - Improve java.sql.Date support
  • [GRAILS-4315] - I/O performance patch for Grails GSP (GSPResponseWriter) and Sitemesh integration
  • [GRAILS-4338] - Update Thai locale message
  • [GRAILS-4408] - Make executeQuery method support cache parameter

New Feature

  • [GRAILS-189] - Support constraints and validate() along with errors and hasErrors on all groovy objects.
  • [GRAILS-756] - Support custom editors for scaffolding views
  • [GRAILS-3226] - Allow use of properties in DataSource.groovy
  • [GRAILS-3323] - Upgrade commons-fileupload from 1.1.1 to current (at least 1.2.x)
  • [GRAILS-3481] - Regular Expression into Grails-Hibernate
  • [GRAILS-3589] - Documentation: Restart grails using a WAR without rebuilding
  • [GRAILS-3594] - Introduce PropertyRenderer
  • [GRAILS-4421] - Add possibility to cache all Hibernate queries by default (patch as git commit)
  • [GRAILS-4422] - Add "keepgenerated" feature for GSP (patch provided)

Task

Test

Wish

  • [GRAILS-4481] - remove the word "instance" from variables in generated views and controllers

Edit/Copy Release Notes

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