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

Polls that aren't synced correctly. #738

Open
Sandro-Meireles opened this issue Jun 30, 2021 · 2 comments
Open

Polls that aren't synced correctly. #738

Sandro-Meireles opened this issue Jun 30, 2021 · 2 comments

Comments

@Sandro-Meireles
Copy link
Contributor

Sandro-Meireles commented Jun 30, 2021

We've some polls that aren't synced correctly, some of them are with 0 responses, and others are with incorrect values.
We've made some tests with this poll:
image

It has a PollQuestion with ruleset_uuid like ee14d359-6551-427a-aa79-51365644400b.
We used this method poll_runs_query = client.get_runs(flow=poll.flow_uuid) to request the runs for the flow.
We've verified all nodes UUID and did not find any equivalent to ruleset_uuid, therefore, we belive that the API isn't correctly returning.

Lastly, the method _save_new_poll_results_to_database receives an empty dictionary and don't save anything on database.

@matmsa27
Copy link
Contributor

matmsa27 commented Jul 1, 2021

Hi @norkans7 have you ever seen this behavior before?

@norkans7
Copy link
Contributor

norkans7 commented Jul 1, 2021

@Sandro-Meireles @matmsa27 We have not seen that.
You will need to investigate more.
As https://barbados.ureport.in/opinion/2346/ has more stats for other questions it is possible the ruleset was remove on the flow after you published the poll.
So either that is not the correct first question so you need to use the priority on question to rank them properly.

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

No branches or pull requests

3 participants