Skip to content

UnKnownProperty in 2.13.3 and 2.18.5 #5424

@impwang91

Description

@impwang91

Search before asking

  • I searched in the issues and found nothing similar.

Describe the bug

entity

    private String uPhone;

    private String uName;

    private Byte sex;

    private Integer age;

RequestBody

{
  "uName": "www",
  "uPhone": "13333333333",
  "age": 19,
  "sex": 1
}

The properties of age and sex is normal, but uName and uPhone failed, I have traced the invoke chain, find there is bug in com/fasterxml/jackson/core/jackson-databind/2.18.5/jackson-databind-2.18.5-sources.jar!/com/fasterxml/jackson/databind/deser/BeanDeserializer.java:396:, _beanProperties cant find uName, but have uname
finally, I replace uName to userName, all worked.

Version Information

2.13.3 and 2.18.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    to-evaluateIssue that has been received but not yet evaluated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions