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

Sub-task

  • [GRAILS-4109] - Add option to "test-app" to run only a single "type" of test, not just a single "phase"
  • [GRAILS-4317] - Support Events
  • [GRAILS-4318] - Support Auto Timestamping
  • [GRAILS-4319] - Detect an annotated Groovy Entity in grails-app\domain
  • [GRAILS-4320] - Violation of unique constraints throws error
  • [GRAILS-4326] - Support Constraints
  • [GRAILS-4634] - Provide hooks for others testing framework different from junit like selenium, easyb, etc
  • [GRAILS-5354] - MvnWarMojo unnecessarily tries to rename the grails war and fails

Bug

  • [GRAILS-1489] - Login page does not work with normal dynamic scaffolding
  • [GRAILS-2057] - Dynamic method not available to child class when called through parent class member function
  • [GRAILS-2382] - Duplicate validation errors appearing from g:renderErrors
  • [GRAILS-2513] - Adding 'belongsTo' property is not reflected in database schema
  • [GRAILS-2803] - sqlProjections is not implemented in HibernateCriteriaBuilder
  • [GRAILS-2861] - g:checkBox behaviour is totally obscure
  • [GRAILS-2884] - Exception in web flow when using command objects with unique constraint -> Please improve error message
  • [GRAILS-2996] - GORM addTo methods fail to set bidirectional relationship on subclassesclasses
  • [GRAILS-3004] - hard coded controller in url mappings not added to params object
  • [GRAILS-3551] - Grails-docs has bad link to Scaffolding guide
  • [GRAILS-3655] - Add support to order by projection aggregations
  • [GRAILS-3760] - getXXX(int) does not compile
  • [GRAILS-4127] - Unique constraint failed for "table per class hierarchy" domain object
  • [GRAILS-4239] - NPE on generate-views when using Java domain classes
  • [GRAILS-4364] - run-app -https restarts only on HTTP port after code changes while jetty is running
  • [GRAILS-4387] - StackOverflowError when using controllerName in a filter
  • [GRAILS-4540] - mockDomain save() fails to set dateCreated
  • [GRAILS-4565] - params not getting picked up in g.include called from a template (main.gsp)
  • [GRAILS-4566] - recursive uses of g:include result in the controller getting old parameters (parent request)
  • [GRAILS-4589] - Cannot bind null to 1:1 relationship to clear the relationship
  • [GRAILS-4922] - Empty date gives typeMismatch.java.util.Date
  • [GRAILS-4976] - 1.2-M2 Breaks run-app -https
  • [GRAILS-5038] - Error "java.net.MalformedURLException: unknown protocol: jndi" when run through "run-app" on tomcat
  • [GRAILS-5149] - subflows don't work when referenced in the same controller
  • [GRAILS-5158] - Possible NPE in ClosureEventTriggeringInterceptor if entity hasn't metaClass property (entity.metaClass==null)
  • [GRAILS-5178] - "grails clean" doesn't remove gspcompile directory
  • [GRAILS-5215] - Tomcat plugin always runs on localhost:8080
  • [GRAILS-5248] - Cannot assign 'style id' to a link
  • [GRAILS-5269] - The upgrade to Groovy 1.6.5 killed the functional test plugin (but only on the build server)
  • [GRAILS-5301] - Controllers with same name in plugins and host applications not utilized correctly
  • [GRAILS-5311] - Transactions not always started in transactional services
  • [GRAILS-5318] - A combination of transaction, validator with gorm queries and x-to-many relationship causes persistence bugs.
  • [GRAILS-5319] - Plugin --zipOnly release fails if plugin is using different svn source.
  • [GRAILS-5321] - Plugin list is created with default platform encoding when releasing plugin
  • [GRAILS-5322] - Grails generate-all no longer works for Annotated Hibernate classes
  • [GRAILS-5327] - Transitive dependencies not being resolved
  • [GRAILS-5328] - Closure in webflow returns action execution attributes were 'map[[empty]]' error
  • [GRAILS-5329] - test-all report generation looses detail if Test classes with the same name/package used in multiple Phases
  • [GRAILS-5330] - g:textField has encoding error when deploy war into tomcat
  • [GRAILS-5331] - g:javascript tag not working properly with plugin views
  • [GRAILS-5333] - Specifying -Dgrails.work.dir generates war files with missing jars in WEB-INF/lib
  • [GRAILS-5334] - Grails confuses hibernate and hibernate filter plugins
  • [GRAILS-5335] - upgrading from 1.2-M2 to 1.2-M4 causes NPE in integration tests using WebFlowTestCase
  • [GRAILS-5337] - create-app fails on Mac OSX in 1.2M4
  • [GRAILS-5341] - Error executing script TestApp: : Errors while applying transformations: org.apache.xml.serializer.utils.WrappedRuntimeException: org.apache.xml.serializer.ToXMLSAXHandler incompatible with org.apache.xml.serializer.SerializationHandler
  • [GRAILS-5343] - Libs of inline plugins are not loaded
  • [GRAILS-5344] - Method public void performInjection(SourceUnit source, GeneratorContext context, ClassNode classNode) was dropped in 1.2-M4
  • [GRAILS-5345] - initialize not called for domain class referenced in new thread
  • [GRAILS-5349] - Web-app path of user defined plugins not resolved correctly in dev env
  • [GRAILS-5358] - Unique constraint involving owning object can cause TransientObjectException
  • [GRAILS-5365] - App Engine plugin does not work with Grails 1.2 M3/M4
  • [GRAILS-5370] - Tomcat seems to be running with session persistence in dev mode
  • [GRAILS-5376] - g:paginate throws Exception if "offset" is empty string
  • [GRAILS-5381] - passing text with tildes not working
  • [GRAILS-5392] - run-app --https with Tomcat does not create SSL certificate
  • [GRAILS-5394] - Controller forward method does not handle ids properly.
  • [GRAILS-5395] - Missing File.pathSeparator in _GrailsClasspath.groovy script
  • [GRAILS-5396] - Starting grails on another port doesn't work with legacy parameter
  • [GRAILS-5397] - -Dserver.port=<port number> does not work with 1.2-M4
  • [GRAILS-5398] - save(failOnError:true) Does Not Return Message From A Custom Validation
  • [GRAILS-5401] - findByNameIlike generates 2 SQL queries
  • [GRAILS-5402] - Cannot release plugin due to MissingPropertyException on ReleasePlugin script
  • [GRAILS-5403] - redirect action doesn't work with gstring
  • [GRAILS-5410] - NamedQuery doesn't support paginate option
  • [GRAILS-5411] - Ajax calls fail when using "yui" or "dojo" libraries
  • [GRAILS-5414] - Plugins with similar names seems to cause confusion
  • [GRAILS-5417] - default ant clean blows up because of missing directories
  • [GRAILS-5418] - NullPointerException on GrailsHibernateDomainClass.constraints
  • [GRAILS-5423] - Hibernate JPA Annotated Classes: java.lang.UnsupportedOperationException: Method 'isCircular' is not supported by implementation
  • [GRAILS-5424] - not-null property references a null or transient value when defining both a many-to-one and a one-to-one to same class
  • [GRAILS-5427] - $GRAILS_HOME/settings.groovy has no effect
  • [GRAILS-5429] - findBy* doesn't accept arguments of type org.codehaus.groovy.grails.web.util.StreamCharBuffer
  • [GRAILS-5431] - size evaluation of non-collection properties is missing
  • [GRAILS-5434] - Using Hibernate/JPA annotated classes stopped working between 1.2M3 and 1.2M4
  • [GRAILS-5435] - If a domain class property is unique and nullable mockDomain only allows 1 instance with null to be saved
  • [GRAILS-5440] - Tranisitive Dependencies not resolved when using flatDirs repository
  • [GRAILS-5444] - Doc task does not add content to single.html page
  • [GRAILS-5446] - WARN org.codehaus.groovy.grails.orm.hibernate.cfg.GrailsDomainBinder - UserType not found java.lang.ClassNotFoundException: string
  • [GRAILS-5450] - "No such property: log for class:" in controllers after changing a service
  • [GRAILS-5451] - Sitemesh can't pick up page properties set inside of a taglib
  • [GRAILS-5456] - Running grails test-app --functional with the functional test plugin results in exception
  • [GRAILS-5459] - batchsize does nothing for many-to-many mapping
  • [GRAILS-5465] - Dynamic Finder not returning all results
  • [GRAILS-5467] - Webflow transition shows fields in query string
  • [GRAILS-5472] - local plugins that rely on other plugins are broken in 1.2M4 and Dec 3rd 09 snapshot
  • [GRAILS-5475] - Legacy system-property-setting server.host gets overwritten in any case, even if grails.server.host is not given

Improvement

  • [GRAILS-123] - Use ResourceBundle to customize GrailsClassUtils.getNaturalName before generate views
  • [GRAILS-872] - Clean up and clarify plugin mechanisms
  • [GRAILS-1327] - Overriding entity in the model with chain is not reasonable
  • [GRAILS-1346] - Make <g:paginate> tag produce URLs aware of custom URL Mappings
  • [GRAILS-2446] - Refactor dynamic property mechanisms to use a manager so we can deduce what properties are synthetic at runtime
  • [GRAILS-2458] - Unique constraint check does not work correctly on inherited classes, throwing GrailsRuntimeException
  • [GRAILS-2740] - Limit URI extension content negotiation to defined types only to avoid truncating params with dot
  • [GRAILS-2812] - use i18n in scaffolding templates
  • [GRAILS-3372] - Add ability to query PluginMeta from PluginMetaManager to get installed plugin versions etc, and path to base dir of a plugin by name (not by resource name)
  • [GRAILS-3778] - ORM mapping for default sorting at association level should include order property
  • [GRAILS-3875] - Add alias support to projections
  • [GRAILS-4316] - Improve Mapping with Hibernate Annotations
  • [GRAILS-4379] - The Generate script of Grails docs does not correctly generate i18n characters
  • [GRAILS-4754] - do not automatically create ide files on create-app - use command instead
  • [GRAILS-5096] - Build target with no docs
  • [GRAILS-5249] - Remove full stop character after path to test report
  • [GRAILS-5304] - Grails test framework - feature request - output to console
  • [GRAILS-5316] - Allow maven credentials to be passed in via a properties file, or settings.xml ?
  • [GRAILS-5320] - Support passing commit message and credentials to release-plugin
  • [GRAILS-5373] - Delete Tomcat work directory before/after each run
  • [GRAILS-5448] - Support non String types with the property override feature
  • [GRAILS-5460] - Autowire JUnit functional tests
  • [GRAILS-5461] - Support GORM operations during functional tests

New Feature

  • [GRAILS-5154] - Add CheckPluginVersions.groovy script to Grails. Checks if there are updates available for plugins used in a Grails project.
  • [GRAILS-5416] - Add build setting for source and test source location
  • [GRAILS-5419] - Support '-clean' argument for grails test-app
  • [GRAILS-5428] - Support For Dynamic Finders On Named Criteria
  • [GRAILS-5449] - Add dynamic property to domain class

Task

  • [GRAILS-4751] - Upgrade used third-party libraries to current stable versions.

Wish

  • [GRAILS-2704] - The create-controller convenience command should respect the package path
  • [GRAILS-4866] - Grails does not support external sessionFactory with a GrailsAnnotationConfiguration

Edit/Copy Release Notes

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