-
Notifications
You must be signed in to change notification settings - Fork 73
remove bad and duplicate forms #285
Comments
That validation is done in Collect and
There should not be a duplicated item, first, debug this and make sure that no duplicate entry is made both in forms.db as well as forms directory because those two has to be in sync. And if there is no entry then there is a problem with the recycler view implementation of ours. |
I have no ideas to address this problem, it appears just making no sense. I research that for a while but I could not reproduce it sometimes. Let's mark it as a bug and see other's ideas. @lakshyagupta21 @opendatakit-bot label "bug" |
How to reproduce this issue,
|
@opendatakit-bot claim |
Hello @chidauri, it looks like you've currently claimed 2 issues in this repository. We encourage new contributors to focus their efforts on at most 2 issues at a time, so please complete your work on your other claimed issues before trying to claim this issue again. We look forward to your valuable contributions! |
@huangyz0918 I am unable to reproduce this issue, can you check once and let me know thanks ;) |
Problem description
I noticed this issue when I'm testing the bluetooth feature, I don't know where this issue comes from, is it comes from the bluetooth approach or it's a common issue? Sometimes I can notice we have the duplicate form in our application, but in the ODK Collect, we can only see one.
I think we can add a check to our recycler view, to remove the duplicated items, we can add a method to check every time when we updated the list.
Apart from the duplicate ones, I can see if we have some forms without root element, which means it is invalid, we should remove them in the list (the same responses like ODK Collect).
You can see we have two
all-widgets
in the skunkworks-crow but only one appeared in ODK Collect.Steps to reproduce the problem
all-widgets
from has this issue, but I think it is a common issue, we should add a common check in our list view.Expected behavior
The items in the list are normal.
Other information
Things you tried, stack traces, related issues, suggestions on how to fix it...
The text was updated successfully, but these errors were encountered: