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

GET /space returns partial spaces #1288

Merged
merged 1 commit into from
Dec 16, 2020
Merged

GET /space returns partial spaces #1288

merged 1 commit into from
Dec 16, 2020

Conversation

jameskerr
Copy link
Member

Fixes more of #1281

The zqd spaces endpoint now returns partial Space objects for the list view, where it was previously returning full Space objects.

The code was replacing all the state with the returned Partial Space objects creating this NAN - UNDEFINED bug.

To fix, we now treat the spaces as partial, and merge them with whatever was there before.

@jameskerr jameskerr merged commit 511c26a into master Dec 16, 2020
@jameskerr jameskerr deleted the set-spaces-bug branch December 16, 2020 16:03
@philrz philrz linked an issue Dec 16, 2020 that may be closed by this pull request
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.

Missing space list and open space details on Windows at startup
2 participants