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

[#1722] avoid NPE in TupleTransformatorFactory #1723

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

david-kubecka
Copy link
Contributor

For some unknown reason a classMappingIndex sometimes
points to a non-present field in the tuple (filtered
via fetches mechanism). The correct fix should be somewhere
else but that this is probably good enough - just don't
perfomr any tuple transformation for non-present fields.

Also, fix a small bug in hasSubFetches. The wrongly
implemented equality check lead to overfetching.

Description

Related Issue

Motivation and Context

For some unknown reason a classMappingIndex sometimes
points to a non-present field in the tuple (filtered
via fetches mechanism). The correct fix should be somewhere
else but that this is probably good enough - just don't
perfomr any tuple transformation for non-present fields.

Also, fix a small bug in hasSubFetches. The wrongly
implemented equality check lead to overfetching.
@beikov
Copy link
Member

beikov commented Jun 15, 2023

Can you please add a test case that reproducers this issue? I'd like to make sure we don't reintroduce such a regression again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants