-
Notifications
You must be signed in to change notification settings - Fork 338
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
DTO projections causes the converter to be called twice #1725
Labels
type: regression
A regression from a previous release
Milestone
Comments
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged
label
Jan 24, 2024
Care to attach any error details, such as a stack trace? |
mp911de
added
the
status: waiting-for-feedback
We need additional information before we can continue
label
Jan 25, 2024
Sorry, just added it. However, I suspect the issue starts before what stacktrace shows. |
spring-projects-issues
added
status: feedback-provided
Feedback has been provided
and removed
status: waiting-for-feedback
We need additional information before we can continue
labels
Jan 25, 2024
mp911de
added
type: bug
A general bug
and removed
status: waiting-for-triage
An issue we've not yet triaged
status: feedback-provided
Feedback has been provided
labels
Jan 26, 2024
For DTO projections using constructor creation, properties are populated twice which is unfortunate. |
mp911de
added
type: regression
A regression from a previous release
and removed
type: bug
A general bug
labels
Jan 29, 2024
mp911de
changed the title
Projections causes the converter to be called twice
DTO Projections causes the converter to be called twice
Jan 29, 2024
mp911de
added a commit
that referenced
this issue
Jan 29, 2024
We now skip property population for properties that are populated through an entity creator (constructor/factory method). Closes #1725
mp911de
changed the title
DTO Projections causes the converter to be called twice
DTO projections causes the converter to be called twice
Jan 29, 2024
This was referenced Jan 29, 2024
Closed
Super thanks for the quick fix 🙏 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not 100% sure this is correct place but I'm having a hard time debugging this issue that appeared since I bumped spring boot to 3.2.1.
During the fetch R2dbcEntityTemplate calls the toRowDocument which seems to cause the converter to be called exhausting the ByteBuffer. I'm not able yet to correlate the change that could have caused that.
Sample project: https://github.com/rotilho/demo4
The text was updated successfully, but these errors were encountered: