miralbhalani / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 0 forks source link

InstanceUploaderTask does not fall back to default submission URL in v1.1.7-beta1 #228

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If an instance to-be-uploaded is not associated with a specific submission URL, 
Collect attempts to fall back to the default URL specified in the string 
resources.

Unfortunately this does not work because the appropriate string resource is not 
loaded.  Attached is a patch against 86f19c2ced2f that fixes this problem. 

Original issue reported on code.google.com by matt.ad...@radicaldynamic.com on 8 Jun 2011 at 2:09

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by wbrune...@gmail.com on 8 Jun 2011 at 8:20

GoogleCodeExporter commented 9 years ago
Good catch, this was actually a bigger problem in that none of the preferences 
were getting initialized unless the preferences activity was run.  Added a line 
to the application class onCreate() to initialize the preferences if they 
hadn't been previously set.

Original comment by carlhart...@gmail.com on 9 Jun 2011 at 7:35