Release Notes - Spring Framework - Version 3.1.1 - HTML format

Sub-task

  • [SPR-5608] - Make line endings consistent across all Spring source files

Bug

  • [SPR-6752] - RestTemplate throws IllegalArgumentException when HTTP status is not in the HttpStatus enum
  • [SPR-8024] - Setting "file-encoding" attribute in a "context:property-placeholder" element in spring xml configuration doesn't work
  • [SPR-8280] - NamedParameterUtils does not parse quoted single quotes correctly
  • [SPR-8757] - Exception during SpringSessionSynchronization.aftercompletion() results in IllegalStateException/SessionHolder never unbound from thread
  • [SPR-8832] - JPA without persistence.xml fails when all classpath items are jars
  • [SPR-8889] - QuartzJobBean doesn't work with Quartz 2.0 at runtime
  • [SPR-8915] - Spring Ref 3.1 is still referencing OpenSymphony with outdated link
  • [SPR-8917] - Accept header with quoted parameter causes IllegalArgumentException in HttpHeaders.getContentType for the outputMessage
  • [SPR-8924] - NullPointerException in org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.<init>(LocalSessionFactoryBuilder.java:101)
  • [SPR-8925] - DefaultPersistenceUnitManager must not reject multiple PersistenceUnits with the same name eagerly
  • [SPR-8931] - Regression - Introspection with BeanUtils started failing for java.math.BigDecimal
  • [SPR-8935] - @Autowired does not appear in JavaDoc
  • [SPR-8936] - Spring should tell JPA provider to exclude unlisted classes when packagesToScan is used
  • [SPR-8937] - java.beans.IntrospectionException: type mismatch between indexed and non-indexed methods: <method_name>
  • [SPR-8939] - The key-generator attribute of cache:annotation-driven element does not work when mode attribute is set to "aspectj"
  • [SPR-8944] - TypeConverterDelegate no longer processes ConversionService ParseException when converting to String
  • [SPR-8949] - PropertyPathFactoryBean requires a bean setter in version 3.1.0.RELEASE. It didn't in 3.0.6.RELEASE
  • [SPR-8952] - The class org.springframework.orm.hibernate4.LocalSessionFactoryBean does not implement the interface PersistenceExceptionTranslator
  • [SPR-8954] - BeanFactory does not return FactoryBeans in case the are looked up by type and type prediction is used
  • [SPR-8955] - Got stackoverflow when scanning for @Configuration
  • [SPR-8958] - Regression: SpringValidatorAdapter generates invalid error codes for class-level constraints
  • [SPR-8962] - Bean configuration behaviour in detecting Locale values changed
  • [SPR-8964] - Property wrongly converted if field and setter do not match
  • [SPR-8972] - JDBC XML schema refers to a non-existing class EmbeddedDataSourceFactoryBean
  • [SPR-8973] - spring-context missing optional Import-Package directive for javax.validation.spi
  • [SPR-8974] - UriUtils query parser broken from 3.0.7 to 3.1.0
  • [SPR-8983] - NullPointerException when @InitBinder method has an HttpServletResponse argument
  • [SPR-8992] - @ActiveProfiles are not cascaded down to contexts loaded via @ImportResource
  • [SPR-9001] - Javadoc error in AbstractRequestCondition subclasses
  • [SPR-9006] - NPE in Spring-JDBC with sqlite
  • [SPR-9013] - AbstractEnvironment should not call overridable method from constructor
  • [SPR-9016] - Provide property in RedirectView to disable treating the redirect URL as a URI template
  • [SPR-9021] - Two matching produces conditions compared incorrectly if media type in 'Accept' header contains a quality parameter
  • [SPR-9023] - Beanname of @Configuration instance is null when Configuration is imported via @Import
  • [SPR-9030] - javax.Provider Spring support doesn't work for collections
  • [SPR-9031] - @ComponentScan with includeFilters on @Import-ed context does not work
  • [SPR-9043] - PropertiesLoaderSupport no longer works with XML-formatted property files when they're loaded as a FileSystemResource.
  • [SPR-9048] - Make spring-test dependency on spring-aspects optional
  • [SPR-9060] - IllegalStateException when saving flash attributes if the session does not exist
  • [SPR-9062] - Spring MVC 3.1.GA 405 problem, can not create two mappings with a same url when using 2 methods (GET, POST) and a PathVariable
  • [SPR-9065] - After upgrade to 3.1.0 from 3.0.5 we've get "Unexpected ClassLoader type" exception during startup of our application under jboss 5.1
  • [SPR-9067] - ServletContextResource.isReadable() returns "true" for directories
  • [SPR-9079] - RequestParamMethodArgumentResolver does not resolve multiparts using HTTP PUT
  • [SPR-9080] - JobDetailFactoryBean missing properties to set description and durability on JobDetail
  • [SPR-9085] - Incorrect name in documentation for ByteArrayHttpMessageConverter class
  • [SPR-9093] - org.springframework.web.util.UriTemplate not throwing IllegalArgumentException when URIVariables map missing values
  • [SPR-9096] - StringHttpMessageConverter should use HttpServletRequest encoding for POST body
  • [SPR-9118] - ResourceHttpRequestHandler OSGiBundleResource contentLength [cannot be resolved to absolute file path]
  • [SPR-9124] - BeanNameGenerator strategy provided to AnnotationConfig(Web)ApplicationContext does not apply to nested and imported @Configuration classes
  • [SPR-9127] - @PropertySource annotation with multiple values and a name fails to register all property sources
  • [SPR-9267] - PDF documentation still missing images (even in 3.1 final)

Improvement

  • [SPR-7799] - form:errors tag: include object errors in the documentation
  • [SPR-8927] - Please include <license> block in project pom's.
  • [SPR-8932] - Allow SELECT statements in ResourceDatabasePopulator
  • [SPR-8940] - How can Spring 3.1 support hibernate 4 such as support Hibernate 3?
  • [SPR-8957] - Spring JDBC does not support JBoss 7 Native JDBC connection
  • [SPR-8961] - Regression: please expose Configuration object in Hibernate 4 LocalSessionFactoryBean
  • [SPR-8976] - Add FlashAttributes to Model for view controllers
  • [SPR-8986] - Add the ability to Scan Packages for JAXB Marshalling (java example provided)
  • [SPR-8991] - Initialize property sources before invoking ApplicationContextInitializer
  • [SPR-8996] - ORM PersistenceExceptionTranslation does not convert Hibernate3 unique ids error to spring DuplicateKeyException
  • [SPR-9007] - Couple of ExtendedBeanInfoTests failing on Java 7
  • [SPR-9009] - SimpleMessageListenerContainer creates the consumers in the afterPropertySet instead of the start
  • [SPR-9041] - org.springframework.dao.EmptyResultDataAccessException doesn't provide cause Throwable
  • [SPR-9047] - SessionAttributes defined in the controller are not populated from the HttpSession object when the web session fails over to a new server in the cluster
  • [SPR-9075] - ServletUriComponentsBuilder should provide static method to create URI from request without query parameters
  • [SPR-9076] - ServletUriComponentsBuilder should allow normalizing URIs created
  • [SPR-9077] - UriComponentsBuilder.pathSegments(...) should drop empty segments
  • [SPR-9084] - Synchronization issues occur on a form which heavily uses
  • [SPR-9114] - Add receive-timeout option to <jms:listener-container> or <jms:listener> definition

New Feature

  • [SPR-7675] - Allow more flexibility for SQLException translation based on state
  • [SPR-7680] - Add QueryTimeoutException to the DataAccessException hierarchy
  • [SPR-8968] - Flash attributes with RedirectView
  • [SPR-9038] - Provide a way to override the ReflectiveMethodResolver so that subclasses can provide thier own static methods

Refactoring

  • [SPR-9246] - Changes in the DefaultPersistenceUnitManager from 3.0 to 3.1 make it impossible to extend it

Task

  • [SPR-8117] - Migrate Spring source control to Git(Hub)
  • [SPR-8347] - Review ExtendedBeanInfo implementation
  • [SPR-8938] - Wrong metadata name in Spring documentation : 28.3.1.4 Available caching SpEL evaluation context
  • [SPR-9025] - Section 3.4. 6 example should have ApplicationContext
  • [SPR-9027] - Error in documentation
  • [SPR-9029] - wrong junit version referenced in spring-framework.ipr
  • [SPR-9042] - Update @RequestMapping Javadoc with regards to ambiguous annotation mappings
  • [SPR-9056] - Remove "final" from configuration callback methods in DelegatingWebMvcConfiguration
  • [SPR-9063] - Update docs on differences between new and old MVC infrastructure when narrowing request mapping by request method only
  • [SPR-9082] - Upgrade dependency on hibernate-core to 4.1.0.Final

Edit/Copy Release Notes

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