-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improper identifier property detection on reading entity with annotated identifier property #4877
Comments
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged
label
Jan 16, 2025
Thanks for reporting. We'll have a look. |
christophstrobl
added
type: bug
A general bug
and removed
status: waiting-for-triage
An issue we've not yet triaged
labels
Jan 16, 2025
mp911de
changed the title
The value for the field named "id" in DTO is null in version 4.4.1
Improper identifier property detection on reading entity with annotated identifier property
Jan 16, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following scenario is not working as expected with version 4.4.1 - it was last working in version 4.3.7
We have an entity which contains a MongoDB "_id" field, an "id" field and other arbitrary fields. For example:
The find() operations in 4.4.1 are returning the data when filtering by the "id" field, but the value of the "id" field is always null.
In 4.3.7, the value of the "id" field is returned as expected.
Is this an intentional change in behavior?
Here is a small test replicating the scenario. The last assertion fails with version 4.4.1.
The text was updated successfully, but these errors were encountered: