…BE1PC transactionManager bean when it's required
…ons to grails-core
- depends on commons-io 2.2 version
This prevents unit tests from making references to MimeType which is in a org.codehause.* package.
When unit testing a controller action which accepts a command object the built in exception handling support does not work from a unit test if the command object is explicitly passed to the action from the unit test (as opposed to the unit test populating request parameters and allowing the framework to create the command object). This change moves the exception handling from the AST transformation generated no-arg method to the original method defined in source code so the exception handling is in place when either method is invoked (the no-arg method invokes the generated method).
…g data binder
…ehavior - improve 81fe4c4 commit related to GRAILS-10980
…paces in the List
If a command object is a domain class and there is an id request parameter the value of that parameter is used as an argument to the .get(...) method to retrieve the relevant instance. This change will skip that step if the String is empty or is "null".