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

Fix bug in Requester for nested objects #4460

Merged
merged 2 commits into from Mar 4, 2019

Conversation

trickreich
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes --
Related issues/PRs --
License MIT
Documentation PR --

What's in this PR?

Fix bug in Requester for nested objects.

Why?

Because undefined is not converted to null currently, therefore the property will not be included in the payload.

@trickreich trickreich force-pushed the bugfix/requester-nested-objects branch from c3c24d4 to cd8571a Compare February 28, 2019 11:40
@trickreich trickreich added the Bug Error or unexpected behavior of already existing functionality label Feb 28, 2019
@trickreich trickreich added this to the Release 2.0 milestone Feb 28, 2019
@trickreich trickreich force-pushed the bugfix/requester-nested-objects branch 2 times, most recently from 6907585 to cb31a6f Compare March 1, 2019 08:31
@danrot
Copy link
Contributor

danrot commented Mar 4, 2019

The media_selection field type does not work correctly anymore... The list is always empty after saving.

@trickreich trickreich force-pushed the bugfix/requester-nested-objects branch from fe2ff7f to bfd7923 Compare March 4, 2019 10:40
@trickreich
Copy link
Contributor Author

@danrot Should be working again.

Fix js lint

Fix bug when data is an observable

Improve handling of observables

do not use toJS

Check for observable arrays

Correct if statement

Fix import

Fix import order

Fix linting
@trickreich trickreich force-pushed the bugfix/requester-nested-objects branch from 60db54e to f786fb5 Compare March 4, 2019 16:28
@danrot danrot merged commit 19a7ebf into develop Mar 4, 2019
@danrot danrot deleted the bugfix/requester-nested-objects branch March 4, 2019 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Error or unexpected behavior of already existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants