Skip to content

johnprince/spring_boot_bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apparent Deserialization bug in Spring Boot 4.0.0-RC1 and earlier

Setup and Description

  • A java pojo with two properties with the same prefix, longer than 11 characters
  • aaaabbbbcccc and aaaabbbbcccc2
  • Jackson serialization/deserialization works as expected (see DeserializationApplicationTests)
  • When submitted through Spring Web (a RestController), the base property setter (aaaabbbbcccc) is called twice, and the property setter for the second property (aaaabbbbcccc2) is never called
  • For properties with a common prefix of 11 characters or fewer, deserialization works correctly in SB4

About

Minimal project to reproduce apparent Spring Boot 4.0.0-RC1 Deserialization bug

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published