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

added missing null check to dot sub scan fixes #891 #896

Merged
merged 1 commit into from
Mar 28, 2022

Conversation

blaky
Copy link
Contributor

@blaky blaky commented Sep 29, 2021

When a filter was deep dot filter is applied on null value, the code throws an exception. This is due to a missing null check. typeof null is always object which is a questionable part of JavaScript and leads to bugs like this...

@blaky blaky changed the title added missing null check to dot sub scan added missing null check to dot sub scan #891 Sep 29, 2021
@blaky blaky changed the title added missing null check to dot sub scan #891 added missing null check to dot sub scan fix 891 Sep 29, 2021
@blaky blaky changed the title added missing null check to dot sub scan fix 891 added missing null check to dot sub scan fixes #891 Sep 29, 2021
@blaky
Copy link
Contributor Author

blaky commented Sep 29, 2021

Hi @techfort ,
Could you please check this PR and let me know if there is anything else we can do to get it merged.
Thanks!

@stale
Copy link

stale bot commented Jan 9, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jan 9, 2022
@techfort
Copy link
Owner

techfort commented Jan 9, 2022 via email

@stale stale bot removed the wontfix label Jan 9, 2022
@bastiion
Copy link

@techfort it is a very simple fix (in only one line of code + test case), could you please merge this PR ? tx

@blaky
Copy link
Contributor Author

blaky commented Mar 28, 2022

@techfort Any chance that you review this in the foreseeable future?

@techfort techfort merged commit 25b9a33 into techfort:master Mar 28, 2022
@blaky
Copy link
Contributor Author

blaky commented Apr 28, 2022

@techfort Thank you! :-)

@blaky blaky deleted the null-check-dot-sub-scan branch April 28, 2022 19:22
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.

None yet

3 participants