expandorg / worker-app

worker application
https://portal.expand.org/
Mozilla Public License 2.0
2 stars 0 forks source link

Issue with verification for job #4 on production #193

Open kieranoreilly opened 5 years ago

kieranoreilly commented 5 years ago

For certain jobs the task id doesn't change. One such job is job #4 create a trivia question. Every user gets the same task. Because of this, there is a bug verifying tasks.

Scenario: A worker creates multiple trivia questions on portal.gems.org I go to verify the first trivia question. I see the question and answer user picked. I click approve or reject. A second trivia question appears. It looks the same as the first one. I refresh the page It is a different question.

Because the task id hasn't changed, the endpoint to receive my task is the same and the data doesn't update.