onaio / kaznet-web

a tasking application built on top of Onadata
Apache License 2.0
4 stars 1 forks source link

Automatic submissions reviews made on kaznet-web are not synced with ona data #350

Open FrankApiyo opened 5 years ago

FrankApiyo commented 5 years ago

automatic submission reviews created when a submission is created on kaznet-web are not synced with submission reviews on onadata.

FrankApiyo commented 5 years ago

when instances are created on kaznet-web, a submission is automatically created too via a signal. If this instance is not already reviewed on onadata an automatic submission review is carried out on the instance data from onadata during this process and a submission review created automatically. API calls are then made to onadata to add this new automatic review to the instance. If for some reason this API call does not work, the submission is not marked as synced with onadata using a json field. A periodic tasks syncs submissions that are not marked as synced with onadata. we need to investigate why neither the periodic task nor the the task called on creation of the Submission are not working. I suspect the API endpoint for this is not working correctly.