-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Add null check for ParentJoinFieldMapper in ChildrenAggregationBuilder.joinFieldResolveConfig #42997
Comments
Pinging @elastic/es-analytics-geo |
Hi can I be assigned this issue? |
We can not assign issues to non-members (GitHub restriction), though you are free to submit a pull request for this. |
Okay! I am working on it |
@amogh-jrules Are you working on this? If not, i am willing to take this up. |
I am working on it, as i said. about to submit a pull request |
@amogh-jrules Are you still working on this? Your PR hasn't been changed in a while, so if you're not on this anymore, I can take this up. |
…for FieldMapper Issue elastic#42997
What is happening with this PR? It has stalled for about 2 months, is it because the commits were not squashed into 1 commit as stated in the CONTRIBUTING.md? |
…and handling it in the same way it is handled for parentIdFieldMapper
…and handling it in the same way it is handled for parentIdFieldMapper
Since this bug has been open for a while, created pull request with code changes and test cases |
@SD1998 It looks like it might still exist, but the method has been renamed to |
I see that this issue is still open, can I work on this? |
Can someone assign this to me? |
Sure, please do. We don't assign issue so you can open a pr that links this issue and we'll review it. |
I have worked on this one wanted some help around verifying the change and on the process of raising a pull request. |
… ChildrenAggregationBuilder.joinFieldResolveConfig
@jimczi I have attached the pull request. Can you please review it. |
…elastic#57089) Adding null check for ParentJoinFieldMapper in ChildrenAggregationBuilder.joinFieldResolveConfig Closes elastic#42997
A user received a NPE. It was reproduced on 6.3.1 with the following stack trace:
in
ChildrenAggregationBuilder.joinFieldResolveConfig
ParentJoinFieldMapper.getMapper
returns null when there is no parent-join field in the mapping. We already check to see ifparentIdFieldMapper
is null and use an unmapped. Should probably be doing the same forparentJoinFieldMapper
as well.The text was updated successfully, but these errors were encountered: