newtonandebe / opendatakit

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

Instances not removed from "Continue Saved Form" List #295

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm not sure whether this is a defect or the intended outcome but I modified 
the code to suit my needs.

What steps will reproduce the problem?
1. Complete an instance and mark as saved
2. Go to the Continue Saved Form Screen
3.

What is the expected output? What do you see instead?
I don't expect to see my instance appearing in this screen, only in the "Send 
Finished Forms" screen.

What version of the product are you using? On what operating system?
1.17RC1

Please provide any additional information below.

As mentioned above - this might be what was intended, in case it wasn't here is 
my change

In InstanceChooserList.java
// get all incomplete instances
String selection = InstanceColumns.STATUS + "=?";
String selectionArgs[] = {
  InstanceProviderAPI.STATUS_INCOMPLETE
};

Cursor c = managedQuery(InstanceColumns.CONTENT_URI, null, selection, 
selectionArgs, null);

this replaces line 62
Cursor c = managedQuery(InstanceColumns.CONTENT_URI, null, null, null, null);

Original issue reported on code.google.com by a...@burgercom.co.za on 9 Aug 2011 at 3:49

GoogleCodeExporter commented 9 years ago

Original comment by wbrune...@gmail.com on 9 Aug 2011 at 7:11

GoogleCodeExporter commented 9 years ago

Original comment by wbrune...@gmail.com on 9 Aug 2011 at 7:12

GoogleCodeExporter commented 9 years ago

Original comment by yanokwa on 25 Oct 2011 at 4:26

GoogleCodeExporter commented 9 years ago
This was fixed in 1.1.7

Original comment by mitchellsundt@gmail.com on 29 Jun 2012 at 11:48