harshitagg / ziggy-app

0 stars 0 forks source link

Form submission lost on server error #2

Open larryweya opened 10 years ago

larryweya commented 10 years ago

When the server returns an error response e.g. 404, 500 etc, the submission is marked as synced by ziggy and is not re-submitted on sync.

harshitagg commented 10 years ago

The sync module in Ziggy-app is built with respect to the specifications of Dristhi server. As there was no Formhub specific API available while developing this. To communicate with Formhub the HTTP API in ziggy-app needs to be updated. https://github.com/harshitagg/ziggy-app/blob/master/ziggy-app/src/main/java/org/ei/ziggy/service/FormSubmissionSyncService.java