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 view issue for SQS Reductions in Subject UI #1123

Open
lcjohnso opened this issue May 1, 2020 · 0 comments
Open

Fix view issue for SQS Reductions in Subject UI #1123

lcjohnso opened this issue May 1, 2020 · 0 comments
Labels

Comments

@lcjohnso
Copy link
Member

lcjohnso commented May 1, 2020

When trying to use the subject view for a workflow that includes an SqsReducer (e.g. https://caesar.zooniverse.org/workflows/7450/subjects/36748525), an error occurs -- see this Sentry issue: https://sentry.io/organizations/zooniverse-27/issues/1563906322/

The source of the problem appears to be the fact that the SqsReducer does not return a key-value pair as expected for reductions, and instead only stores "dispatched" by default as data:

r.data = "dispatched" if r.data.blank?

@lcjohnso lcjohnso added the bug label May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant