Release Notes - Grails - Version 1.0 - HTML format

Sub-task

  • [GRAILS-885] - Stop the 500+ line stacktraces - exception usually repeated many times
  • [GRAILS-888] - Display compilation errors in a special way, suppressing all trace which is pointless
  • [GRAILS-889] - See if we can improve groovy NoSuchPropertyExceptions which are reported for missing imports
  • [GRAILS-1471] - Stop generating log4j.properties to web-app/WEB-INF/classes
  • [GRAILS-1472] - Stop copying i18n bundles to web-app/WEB-INF/grails-app/i18n
  • [GRAILS-1473] - Stop copying Spring xml to web-app/WEB-INF/spring
  • [GRAILS-1632] - Find all compilation error stacktraces and make friendly messages instead
  • [GRAILS-2190] - Add new config property to artefacts for GSP encoding
  • [GRAILS-2191] - Change groovy compiler to read source with UTF-8 throughout
  • [GRAILS-2192] - Change GSP Parser to generate UTF-8 groovy source always
  • [GRAILS-2326] - Add grails.work.dir property to make grails working directory configruable
  • [GRAILS-2331] - Remove the need to copy scaffolding templates to web-app/WEB-INF/grails-app/views
  • [GRAILS-2338] - Write 1.0 release notes
  • [GRAILS-2339] - Tag SVN repository
  • [GRAILS-2340] - Publish final documentation
  • [GRAILS-2344] - Write announcement
  • [GRAILS-2345] - Update README

Bug

  • [GRAILS-1551] - Hibernate annotations dont work in groovy domain clases (POGO)
  • [GRAILS-1566] - WebFlows break when deployed under non-root context
  • [GRAILS-1720] - Exception caused from content of javascript file
  • [GRAILS-1761] - Main app is not able to resolve generated views for plugin domain class
  • [GRAILS-1780] - When using embedded domains and putting the embedded domain in same file as the main domain, embedded constraints are ignored
  • [GRAILS-1813] - Setting a column to lazy:true does not work for one-to-one relationship
  • [GRAILS-1842] - Scaffolding displays gorm events in views
  • [GRAILS-1857] - beforeUpdate doesn't work for domain objects through scaffolded controller
  • [GRAILS-1875] - Read access to properties domain class property throws GroovyRuntimeException
  • [GRAILS-1990] - Change JSON serialization to valid Enum processing
  • [GRAILS-1996] - assertEquals sometimes not reporting correctly
  • [GRAILS-2021] - grailsApplication is not available in Filters
  • [GRAILS-2024] - Wrong domain class detection/artefact access in JSON and XStream converters
  • [GRAILS-2043] - Use JUnit 3.8.2
  • [GRAILS-2045] - String collection passed when using remoteFunction or remoteLink
  • [GRAILS-2051] - hasMany of child class is not working when parent class has own hasMany
  • [GRAILS-2056] - Foreign key references in many-to-many join table are criss-crossed
  • [GRAILS-2065] - Lazy Initialization exception in transition action
  • [GRAILS-2066] - Hibernate UserTypes don't work properly where real type mapping is involved
  • [GRAILS-2073] - Cascade validation does not work with Maps
  • [GRAILS-2078] - formatNumber, and formatDate use defaultLocale instead of RequestContextUtils.locale
  • [GRAILS-2120] - Section 5.4 and 5.4.1 "sort" and "order" wrong way round
  • [GRAILS-2143] - Plugin filter not working for user-supplied plugins
  • [GRAILS-2164] - Show Action does not fail gracefully - Easy Fix
  • [GRAILS-2177] - Chinese (double bytes) characters display error when using sitemesh layouts
  • [GRAILS-2179] - Request Locale is not used for default message in validation
  • [GRAILS-2187] - g:createLinkTo outputs invalid relative URL when app deployed to ROOT context on server (tomcat)
  • [GRAILS-2194] - Reference Documentation 6.7.1.2 code-snippets miss controller='book'
  • [GRAILS-2197] - GrailsParameterMapTests is not being run on at least 2 build systems, possibly others not running?
  • [GRAILS-2198] - remoteFunction passes params in both URL and as parameters to Ajax.Updater (prototype)
  • [GRAILS-2199] - g:remoteFunction and g:remoteLink are passing HTML encoded parameters to Prototype, should be URL encoded
  • [GRAILS-2200] - g:remoteLink is not passing parameters to href of links so JS degrade will fail
  • [GRAILS-2201] - Reverse URL mappings do not URLEncode id parameters
  • [GRAILS-2205] - ORM DSL: tablePerHeirarchy = false does not respect custom table names for subclasses
  • [GRAILS-2206] - Reliance on servlet API 2.5 method call to ServletContext.getContextPath()
  • [GRAILS-2207] - Using resources.groovy causes a "java.lang.ClassNotFoundException: spring.resources" exception on startup in RC4
  • [GRAILS-2209] - Form Action misbehaves
  • [GRAILS-2211] - NullPointerException on joinTable: false mapping
  • [GRAILS-2212] - Wild card in UrlMapping causes IndexOutOfBoundsException
  • [GRAILS-2213] - Render method within a dynamic TagLib seems to be not working
  • [GRAILS-2215] - In production ConfigObject is not set in ConfigurationHolder before initialising DataSource
  • [GRAILS-2219] - Constraints with object-references create a groovy.lang.ReadOnlyPropertyException: Cannot set readonly property: properties for class:
  • [GRAILS-2220] - Integration tests failing on RC4 when the application uses Jsecurity
  • [GRAILS-2228] - package-plugin croaks if no .../conf/Config.groovy or DataSource.groovy
  • [GRAILS-2230] - 12.7 Incorrectly references application.controllerClasses.metaClass
  • [GRAILS-2233] - Revision 6525 fails to run a sample application.
  • [GRAILS-2235] - GORM associations not persisting - Hibernate complains about 'null or transient' entities
  • [GRAILS-2243] - grails --version gives InvocationTargetException
  • [GRAILS-2244] - Webflow broken in SVN 6525 after fix GRAILS-2065
  • [GRAILS-2245] - docs: Broken link in Sec. 8.1
  • [GRAILS-2246] - Table of contents should be expanded again
  • [GRAILS-2248] - Grails classloader no longer makes classpath resources in the ~/.grails cache available to java classes loaded from a jar
  • [GRAILS-2254] - One-to-Many persistence error in a WebFlow.
  • [GRAILS-2256] - Java code generated error
  • [GRAILS-2258] - revision 6527 or subsequent breaks ** UrlMapping for URLs with query parts
  • [GRAILS-2259] - [SVN 6532] Exception: "Cannot invoke method autowireBeanProperties() on null object"
  • [GRAILS-2261] - The errors message can not match the i18n properties when switching language use '?lang=xx'.
  • [GRAILS-2262] - Need to add ant-trax.jar to lib/ folder of Ant
  • [GRAILS-2265] - docs: Strings incorrectly recognized as Textile style links are mangled
  • [GRAILS-2266] - docs: Broken external links
  • [GRAILS-2275] - dbCreate="create" behavior doesn't match documentation (deletes all data).
  • [GRAILS-2281] - Constraining the size of the file upload causes uncatchable/unmappable error
  • [GRAILS-2283] - problems POSTing XML to a REST controller
  • [GRAILS-2288] - Data binding with multiple domain classes does not work for file upload
  • [GRAILS-2295] - ClassNotFoundExceptions after doing SVN update on 1.0-final-SNAPSHOT revision 6577
  • [GRAILS-2298] - r6577 fails to run basic application with xmlrpc
  • [GRAILS-2299] - Composition in GORM Error
  • [GRAILS-2302] - DatePicker throws classCastException if default attribute is not a string
  • [GRAILS-2303] - Render as JSON doesn't work with format param
  • [GRAILS-2304] - GORM issue with embedded classes on rev 6590
  • [GRAILS-2305] - run-app/clean does not remove deleted resource files from run cache
  • [GRAILS-2306] - can't grails war in project containing acegi plugin
  • [GRAILS-2307] - Stop plugins including resources.groovy
  • [GRAILS-2309] - Possible Bug in GroovyPagesTestCase in call RequestContextHolder.currentRequestAttributes()
  • [GRAILS-2310] - Grails shell throws java.lang.IllegalAccessError when plugins have doWithSpring closures in 1.0 RC4 and final
  • [GRAILS-2314] - Validating of Java/Hibernate Domain Classes with Constraints.groovy does not work
  • [GRAILS-2315] - intercepting MaxUploadSizeExceededException by mapping the http 500 status code to controller/action causes Grails to spin out of control
  • [GRAILS-2318] - InvalidDataAccessResourceUsageException on collections after svn rev 6601
  • [GRAILS-2319] - Page directives in 6.2.1.3 show incorrect syntax
  • [GRAILS-2324] - TestApp script broken after resources.groovy reload fix
  • [GRAILS-2325] - "Protocol Violation" exception when transaction follows "domain.properties"
  • [GRAILS-2328] - Link Tag doesn't render urls according to URLMappings
  • [GRAILS-2329] - grails-1.0-RC4 on IBM AIX Java 1.4.2 fails on startup ( grails -version )
  • [GRAILS-2332] - ClassNotFound spring.resources in WAR
  • [GRAILS-2334] - Websphere Deployment Error Code: 500 "javax/servlet/ServletContext.getContextPath()Ljava/lang/String;"
  • [GRAILS-2335] - Criteria builder doesnt seem to hanle isNotNull("column")
  • [GRAILS-2341] - GSP View not resolving when running in Prod mode
  • [GRAILS-2346] - Project name/key replaced in CreateApp.groovy is overly aggressive in file selection, causing OOMs
  • [GRAILS-2357] - SelectTagTests Fail on Windows
  • [GRAILS-2358] - setRollbackOnly not working consistently on test
  • [GRAILS-2362] - Upgrading from 0.5.6 to 1.0 gives compilation errors instantiating tags
  • [GRAILS-2365] - Upgraded 1.0 project fails to load custom taglib even if all code removed from tag class
  • [GRAILS-2588] - CLONE -Validating of Java/Hibernate Domain Classes with Constraints.groovy does not work

Improvement

  • [GRAILS-491] - When an exception occurs on startup (for whatever reason), report the domain/controller/etc that it was trying to resolve/initialize/etc.
  • [GRAILS-666] - Decouple Hibernate configuration from data source configuration
  • [GRAILS-707] - Documentation for ORM insufficient with regard to managing relationships i.e. removeBook() does not exist etc, and orphan control
  • [GRAILS-884] - Improve all error reporting and failure behaviour
  • [GRAILS-1197] - Allow multiple selected values in a <g:select multiple="multiple" /> tag
  • [GRAILS-1491] - Default memory allocated to Grails should be higher
  • [GRAILS-1968] - Make resources.groovy the default and make it reloadable
  • [GRAILS-1972] - Automatic timestamping on domain classes require nullable constraints to be added manually
  • [GRAILS-1978] - Update command line help for all commands
  • [GRAILS-2086] - Allow unit and integation tests to be run independently
  • [GRAILS-2110] - Dependency injection do not work in filters
  • [GRAILS-2111] - Unhelpful error when dataSource dialect in quotes
  • [GRAILS-2189] - Improve GSP character encodings
  • [GRAILS-2195] - Support tests in packages
  • [GRAILS-2202] - Look at whether url mappings should support excess arguments
  • [GRAILS-2203] - Look at way to stop duplicate parameters resulting from remoteLink/remoteFunction and support POST
  • [GRAILS-2204] - [Doc] Like A Gazillion+Uncountable Typos
  • [GRAILS-2217] - Remove lists of dependencies from default Config.groovy templates
  • [GRAILS-2225] - Make new projects have a default resources.groovy, not a resources.xml
  • [GRAILS-2236] - [DOC] DefaultGrailsApplication has class-level Javadoc typos
  • [GRAILS-2237] - ConfigurationHelper has typos in log messages
  • [GRAILS-2239] - GrailsUtil has bogus comment
  • [GRAILS-2240] - [Doc] A Few More Typos In The Reference Manual
  • [GRAILS-2247] - docs: handle log4j messages from radeox
  • [GRAILS-2268] - Inheritance and GrailsDispatcherServlet
  • [GRAILS-2280] - Add ability to reader cookies and header values in GSP expressions
  • [GRAILS-2282] - Improvement in i18n in messages_es.properties
  • [GRAILS-2286] - generating javadoc produces several warnings
  • [GRAILS-2287] - Expanded table of contents
  • [GRAILS-2317] - Smarter JSON Deep Converter
  • [GRAILS-2330] - Add the ability to return a global error code from a custom validator
  • [GRAILS-2343] - Add ability to force upgrade (useful for build servers)
  • [GRAILS-2361] - Upgrading from circa 0.5.6 requires lots of manual intervention that is not warned

New Feature

  • [GRAILS-794] - Add a war-lite target omitting common libraries
  • [GRAILS-2289] - Allow for execution of single tests
  • [GRAILS-2308] - Add functional test apps to grails build mechanism

Task

  • [GRAILS-2226] - Make Upgrade script warn if system encoding is not us-ascii or UTF-8, that sources must be converted to UTF-8
  • [GRAILS-2320] - Give visual feedback when committing to SVN in release-plugin script
  • [GRAILS-2337] - Grails 1.0 Release Tasks

Edit/Copy Release Notes

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