Open jnm opened 1 year ago
Forms can have many versions. KoBoCAT does not know about any version except the latest, and yet it de-facto enforces type validation for at least geopoint because it will fail and return a 500 if non-conforming data is submitted: https://github.com/kobotoolbox/kobocat/blob/d79b0fdcb38949a250d4881448f9642a52f6810d/onadata/apps/logger/models/instance.py#L310
geopoint
KoBoCAT should accept everything—within reason, of course, given security and performance considerations. Dealing with non-conforming data based on the type should be the purview of KPI or formpack.
Discussion: https://chat.kobotoolbox.org/#narrow/stream/6-Support/topic/500.20error.20with.20invalid.20GPS.20coordinates
Forms can have many versions. KoBoCAT does not know about any version except the latest, and yet it de-facto enforces type validation for at least
geopoint
because it will fail and return a 500 if non-conforming data is submitted: https://github.com/kobotoolbox/kobocat/blob/d79b0fdcb38949a250d4881448f9642a52f6810d/onadata/apps/logger/models/instance.py#L310KoBoCAT should accept everything—within reason, of course, given security and performance considerations. Dealing with non-conforming data based on the type should be the purview of KPI or formpack.
Discussion: https://chat.kobotoolbox.org/#narrow/stream/6-Support/topic/500.20error.20with.20invalid.20GPS.20coordinates