Release Notes - Grails - Version 2.0-M2 - HTML format

Sub-task

  • [GRAILS-3817] - Add method to mock tags in custom namespaces
  • [GRAILS-7113] - non-inline plugin dependencies of inline plugin dependencies are not resolved transitively

Bug

  • [GRAILS-1678] - Redirect to closure that has arguments causes NoSuchBeanDefinitionException
  • [GRAILS-2667] - Service reloading not working if changed base service
  • [GRAILS-2942] - Allow auto reload of Command Class not part of Controller.groovy
  • [GRAILS-3407] - Command Objects are not passed into actions prefixed with underscore (_)
  • [GRAILS-3434] - Grails reference documentation does not include documentation about adding new Artifact types
  • [GRAILS-3531] - GrailsDomainClass.getPersistentProperties should not include transients from a superclass
  • [GRAILS-3761] - domain class reloading problem
  • [GRAILS-3763] - Blank .java file causes Grails to fail
  • [GRAILS-3793] - Defined column name of embedded comain class is ignored
  • [GRAILS-4089] - Default Sort Order for associations causes java.sql.SQLException: Column not found
  • [GRAILS-4136] - TagLib unit test support: pageContext is missing
  • [GRAILS-4156] - service relies on another service then it doesn't get auto reloading
  • [GRAILS-4415] - Bug about transaction manager in GORMSessionFactoryDefinitionParser
  • [GRAILS-4451] - render cannot find controller name during integration test
  • [GRAILS-4917] - External redirect not working in webflow
  • [GRAILS-4955] - grails.serverURL and redirect(uri:"/")
  • [GRAILS-5035] - Automatic recompile is not reliable
  • [GRAILS-5527] - render <domain class> as XML - Different results in Unit and Integration tests
  • [GRAILS-5674] - Mapping of property of type java.util.Map as 'serializable' still generates join table
  • [GRAILS-5832] - Config files require run-app twice before being visible
  • [GRAILS-5913] - GSP-Compilation error - missing closing curly brackets
  • [GRAILS-5945] - grails.gorm.default.constraints does not get picked up in unit tests
  • [GRAILS-5982] - Reloaded Service not injected into Filters
  • [GRAILS-6072] - GSP EL parser cannot handle expressions containing closures correctly
  • [GRAILS-6205] - Logger injection and afterPropertiesSet
  • [GRAILS-6343] - transients don't merge when subclassing?
  • [GRAILS-6459] - Creating domain object from XML with POST request failing with IllegalStateException
  • [GRAILS-6474] - After long periods of app being idle using MySQL, Grails fails with 500 error: "Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost."
  • [GRAILS-6488] - Default scaffolding template + date column with precision constraint attribute
  • [GRAILS-6499] - Mock response has invalid values for contentType and status
  • [GRAILS-6594] - watchedResources not picking up hyphenated directory names.
  • [GRAILS-6612] - Maven POM properties are not replaced when pom=true
  • [GRAILS-6722] - Default column type config is ignored for embedded properties
  • [GRAILS-6750] - NPE on generate-views when using Java domain classes
  • [GRAILS-6767] - associations are auto-created by GrailsDataBinder even when the properties have been excluded from the data binding
  • [GRAILS-6857] - Console Crashes
  • [GRAILS-6903] - Cannot reload plugin artefacts
  • [GRAILS-6932] - GORM mapping user-type is ignored for fields in embedded classes
  • [GRAILS-6980] - Plugin layout not found in war when installed from BuildConfig.groovy
  • [GRAILS-6989] - Bug in GrailsParameterMap.toQueryString()
  • [GRAILS-7081] - Grails is able to identify misspelled scripts but it is unable to run them (grails run-app)
  • [GRAILS-7126] - CLONE -Cannot call super implementation of a method on a controller.
  • [GRAILS-7167] - Cannot createAlias for inherited association
  • [GRAILS-7180] - Double closure fails in GSP
  • [GRAILS-7205] - Immutable class from plugin fails to compile on first try, succeeds afterwards
  • [GRAILS-7241] - gorm global default constraints not applied to embedded relationship
  • [GRAILS-7274] - silent failure in event handlers (_Events.groovy)
  • [GRAILS-7307] - <g:sortableColumn> with no "params" attribute breaks an NPE + does not propagate "max" and "offset" attributes
  • [GRAILS-7324] - Criteria: ordering by existing association property causes org.hibernate.QueryException
  • [GRAILS-7334] - grails bug-report doesn't include plugin descriptor in zip
  • [GRAILS-7418] - @Validateable components are injected in Grails domain objects
  • [GRAILS-7428] - If the ivy cache is used to resolve grails dependencies xml-apis is included which results in a LinkageError even on create-app
  • [GRAILS-7444] - Setting content type on response directly and via contentType arg to render results in screwed up content type
  • [GRAILS-7450] - Unable to scaffold when the domain class contains the word "codec"
  • [GRAILS-7510] - Empty title breaks page (sitemesh problem)
  • [GRAILS-7519] - Default constraints do not get applied in Grails unit tests
  • [GRAILS-7528] - Can't start without a GRAILS_HOME
  • [GRAILS-7540] - the domainSuffix can't work.
  • [GRAILS-7576] - Hibernate event listeners cause ArrayStoreException
  • [GRAILS-7590] - static javascript files won't be reloaded
  • [GRAILS-7608] - WAR command produces an incomplete war on first run
  • [GRAILS-7632] - Grails Classloading Configuration issue
  • [GRAILS-7649] - resources.groovy isn't reloaded properly
  • [GRAILS-7655] - Grails 1.4 HEAD is corrupting ivy2 cache?
  • [GRAILS-7664] - g:actionSubmit causes exception handling to break
  • [GRAILS-7722] - Existing java models with inheritance throw exception
  • [GRAILS-7736] - Empty <title> element in decorated page makes page contents invisible
  • [GRAILS-7748] - Value of "transients" GORM property is not inherited by subclasses
  • [GRAILS-7755] - GSP not found when subclassing controller with methods
  • [GRAILS-7781] - can't shutdown tomcat server with CTRL+C
  • [GRAILS-7782] - java.util.NoSuchElementException when running grails commands
  • [GRAILS-7783] - more than one AND block in an OR block of a critieria breaks totalCount and results
  • [GRAILS-7793] - Documentation on eachError tag is incorrect leads to errors in STS's GSP editor
  • [GRAILS-7794] - NullPointerException when running Grails commands with JPA domain model
  • [GRAILS-7795] - Can't install unreleased plugin from zip
  • [GRAILS-7798] - Marking a service as transactional=true renders the service unavailable.
  • [GRAILS-7800] - Injecting an untyped service in a controller causes ClassCastException
  • [GRAILS-7802] - c.tld and fmt.tld not part of generated war anymore
  • [GRAILS-7807] - Domain class reloading issue in interactive mode
  • [GRAILS-7809] - GRAVE: Unexpected problem transforming call sites java.util.NoSuchElementException at java.util.StringTokenizer.nextToken(StringTokenizer.java:332) ...
  • [GRAILS-7812] - compilation error when a domain class is used as a command object
  • [GRAILS-7815] - Domain object constructors effectively ignored
  • [GRAILS-7818] - plugins throw errors on artefact metaclass access in _GrailsBootstrap
  • [GRAILS-7819] - Can't add new action and service in interactive run-app
  • [GRAILS-7820] - Constraints not being picked up by interactive run-app & dynamic scaffolding
  • [GRAILS-7823] - DefaultGrailsDomainClass.properties excluding non-transient, read-only properties
  • [GRAILS-7824] - Untyped grailsApplication property in controller is null
  • [GRAILS-7826] - Controller reloading fails again in 2.0-M1 under windows seven
  • [GRAILS-7828] - command object properties causing domain class mapping to fail
  • [GRAILS-7829] - Criteria only works with LTE in tests but LE in running code
  • [GRAILS-7837] - 'grails plugin-info mongodb' reports svn plugin info
  • [GRAILS-7839] - Grails should not use installed but undeclared plugins for dependency resolution
  • [GRAILS-7840] - Auto-completion seems to cache results
  • [GRAILS-7841] - executeQuery() is removing items from the parameter map passed to it
  • [GRAILS-7843] - Unit testing controllers and filters using withFilters fails assertions
  • [GRAILS-7850] - @grails.persistence.Entity in domain class causes compilation errors
  • [GRAILS-7855] - grails 2.0.M1 Deploy on JBoss 6.0.0.Final
  • [GRAILS-7862] - plugin installation can fail if transitively included but not exported by another plugin
  • [GRAILS-7864] - After unsuccessful install of a plugin with missing JAR dependencies, grails becomes practically unusable.
  • [GRAILS-7865] - grails-core tests fail when run with gradlew test from a command line
  • [GRAILS-7866] - grails-core test ResourceLocatorSpec."test find simple URI"() doesn't pass on windows
  • [GRAILS-7867] - grails-core test CommandLineParserSpec."Test help message with declared options"() doesn't pass on windows
  • [GRAILS-7869] - i18n messages don't reload after editing
  • [GRAILS-7871] - Multiple <g:render> tags inside a <g:include> causes classCastException at runtime
  • [GRAILS-7872] - HibernateCriteriaBuilder ignores projections when the list method is called with pagination arguments
  • [GRAILS-7873] - PluginBuildSettings#getAvailableScripts() requires a grails home
  • [GRAILS-7881] - Boolean tag attributes are not handled correctly
  • [GRAILS-7882] - Console exception messages lack vital info
  • [GRAILS-7886] - Tags without explicit declared arguments are no longer treated as tags
  • [GRAILS-7887] - Pre-defined variables are lost within the scope of a GSP after using g.render() in controller.
  • [GRAILS-7893] - install-templates does not create "correct" Tests.groovy
  • [GRAILS-7895] - The defaultAction doesn't work even if it is set
  • [GRAILS-7897] - Odd startup errors with interactive mode
  • [GRAILS-7900] - Validateable classes and command objects from plugins are not automatically scanned
  • [GRAILS-7912] - bindData with empty include list includes everything
  • [GRAILS-7918] - Error executing tag <g:countrySelect>
  • [GRAILS-7927] - Hide the SpringLoaded messages from the Spring plugin
  • [GRAILS-7928] - Double-vision with scaffolding
  • [GRAILS-7929] - GSP Compilation error doesn't show error location (file and line number) for syntax tags
  • [GRAILS-7935] - 'create-domain-class' and then 'generate-all' causes ClassCastException errors
  • [GRAILS-7938] - AbstractController's public method don't register to sub controller
  • [GRAILS-7939] - Grails distribution includes unnecessary "org.grails" dependencies
  • [GRAILS-7940] - Plugin class in Grails 2.0.0.M1 doesn't have metadata annotation
  • [GRAILS-7944] - Custom 4040 redirect by controller doesn't seem to be working
  • [GRAILS-7947] - Creating closure or referencing local variable in controller method blows up with MME
  • [GRAILS-7948] - package-plugin creates wrong zip version
  • [GRAILS-7950] - Grails Memory Leak when new instances of a gorm object is created for millions of time
  • [GRAILS-7954] - Error while running integration tests
  • [GRAILS-7957] - Grails commandline parser doesn't handle quoted arguments properly
  • [GRAILS-7958] - Web flow plugin doesn't work with grails 2.0.0M1
  • [GRAILS-7967] - GSP compilation error: The current scope already contains a variable of the name _it1314618035589
  • [GRAILS-7970] - command.errors is of type BeanPropertyBindingResult in tests
  • [GRAILS-7973] - Default controller action 'index' broken
  • [GRAILS-7974] - DomainClass.get(params.id) fails occasionally under load test "java.lang.IllegalArgumentException: id to load is required for loading"
  • [GRAILS-7975] - java.lang.NoClassDefFoundError: org/grails/plugins/tomcat/IsolatedTomcat on clean startup with "grails prod run-war"
  • [GRAILS-7977] - multpartResolver.cleanupMultpart is never called
  • [GRAILS-7978] - render template is returning model instead of rendered template
  • [GRAILS-7984] - render template returns model instead of template if controller extends an abstract class
  • [GRAILS-7985] - dependency-report command is not working since default ivy cache location was changed
  • [GRAILS-8053] - redirect in filter doesn't use grails.serverURL, transforms https to http
  • [GRAILS-9889] - WAR command produces an incomplete war on first run

Improvement

  • [GRAILS-4374] - <g:resource> should be configurable
  • [GRAILS-5256] - Retrieving dates from params is too difficult when not using g:datePicker.
  • [GRAILS-5305] - parseArguments should be called earlier in the lifecycle
  • [GRAILS-6586] - Plugins cannot use command objects without user or plugin author jumping through hoops
  • [GRAILS-7108] - Switch to manual flush for domain class events and validators
  • [GRAILS-7207] - Support public and private views like Servlet spec
  • [GRAILS-7377] - @Validateable should not be Spring beans
  • [GRAILS-7804] - Add domain class auto-complete to create-scaffold-controller
  • [GRAILS-7834] - Spanish i18n messages
  • [GRAILS-7849] - Rework Hibernate event handling to use Datastore events
  • [GRAILS-7884] - 'warn org.mortbay.log' is in the default log4j configuration for new projects
  • [GRAILS-7890] - DefaultGrailsDomainClassInjuector should inject types that are properly parameterized
  • [GRAILS-7892] - Improve GSP content-type setting (don't set content type in templates)
  • [GRAILS-7901] - HibernateQuery does not handle StreamCharBuffer arguments to dynamic finders
  • [GRAILS-7916] - Provide a 'Refresh Depencies' command with option to download source attachements
  • [GRAILS-7945] - Named Query results should be of type PagedResultList in order to support Pagination

New Feature

  • [GRAILS-6132] - @Validateable doesnt work when combined with @Mixin
  • [GRAILS-6929] - Add support for using nested properties in default sorting (ie. mapping {sort 'nested.property')}

Task

Edit/Copy Release Notes

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