• Dave Syer's avatar
    Fix overlapping property name binding to Maps · b3d8e32c
    Dave Syer authored
    Update RelaxedDataBinder so that multiple overlapping nested property
    names can be bound to a Map.
    
    Prior to this commit, properties of the following form could not be
    bound to Maps:
    
      foo: baz
      foo.bar: spam
    
    This was due to BeanWrapperImpl throwing an InvalidPropertyException
    when binding `map[foo][bar]` because `foo` is already bound to `baz`.
    
    The updated code now detects such cases and instead uses the binding
    property `map[foo.bar]`.
    
    Fixes gh-2610
    b3d8e32c
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
spring-boot-versions Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...