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

[Worker] Fix critical issues #2393

Merged
merged 4 commits into from
Dec 30, 2020
Merged

[Worker] Fix critical issues #2393

merged 4 commits into from
Dec 30, 2020

Conversation

hetunandu
Copy link
Member

@hetunandu hetunandu commented Dec 29, 2020

Description

  • Workers cannot clone objects with functions in them. Parsing any object to remove any possible function in them
  • Confirm object before using the in operator

Fixes #2288
Fixes #2367

Type of change

  • Bug fix (non-breaking change which fixes an issue)

@hetunandu hetunandu requested a review from ofpiyush December 29, 2020 16:27
@hetunandu hetunandu added the Bug Something isn't working label Dec 29, 2020
ofpiyush
ofpiyush previously approved these changes Dec 29, 2020
@hetunandu hetunandu changed the title [Worker] Parse all objects to remove functions [Worker] Fix critical issues Dec 29, 2020
@hetunandu hetunandu requested a review from ofpiyush December 29, 2020 17:42
@hetunandu hetunandu requested a review from ofpiyush December 30, 2020 08:29
@hetunandu hetunandu merged commit 31d8c8c into release Dec 30, 2020
@hetunandu hetunandu deleted the fix/data-clone-error branch December 30, 2020 12:58
nidhi-nair pushed a commit that referenced this pull request Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
2 participants