Skip to content
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

SingleEntityExecution emits both, item and error signal #1107

Closed
mp911de opened this issue Mar 22, 2021 · 0 comments
Closed

SingleEntityExecution emits both, item and error signal #1107

mp911de opened this issue Mar 22, 2021 · 0 comments
Assignees
Labels
type: regression A regression from a previous release

Comments

@mp911de
Copy link
Member

mp911de commented Mar 22, 2021

When SingleEntityExecution ensures that at most one item is emitted, the condition falls through into sink.error(…) causing the reactive sequence to terminate with an error: org.springframework.dao.IncorrectResultSizeDataAccessException: Incorrect result size: expected 1, actual 1

@mp911de mp911de added the type: bug A general bug label Mar 22, 2021
@mp911de mp911de added this to the 3.2 RC1 (2021.0.0) milestone Mar 22, 2021
@mp911de mp911de self-assigned this Mar 22, 2021
@mp911de mp911de added type: regression A regression from a previous release and removed type: bug A general bug labels Mar 22, 2021
mp911de added a commit that referenced this issue Mar 22, 2021
Align handle methods exiting avoiding a flatMap stage.

See #1107
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: regression A regression from a previous release
Projects
None yet
Development

No branches or pull requests

1 participant