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

OMK Android may send wrong OSM XML file to ODK Collect in intent #128

Open
hallahan opened this issue Mar 4, 2016 · 1 comment
Open
Labels

Comments

@hallahan
Copy link
Contributor

hallahan commented Mar 4, 2016

This is an edge-case bug, and it has only been seen to happen once. Basically, the file name of the OSM XML edit is different between what is written to the ODK Collect directory and what is sent back to ODK Collect via intents. This causes an inconsistency on the server as seen here:

screen shot 2016-03-04 at 4 10 19 pm

On the server piece, there is middleware that rewrites the submission JSON when it finds a matching media attachment in the submission's directory. In this case, it did not find that match, so it didn't do the rewrite. This is not a server problem, it is an OMK Android problem. The correct file was not sent.

My guess is that this is a bug caused by some unusual user flow in OMK Android. Maybe the user had selected a different OSM element from what was being edited at the time of save?

Further investigation will have to go into trying to recreate this bug.

cc/ @danbjoseph

@hallahan hallahan added the bug label Apr 6, 2016
@hallahan
Copy link
Contributor Author

hallahan commented Apr 6, 2016

Fixing #115 will probably fix this.

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