Cadasta / cadasta-platform

[DEPRECATED] Main repository of the Cadasta platform. Technology to help communities document their land rights around the world.
https://demo.cadasta.org
GNU Affero General Public License v3.0
53 stars 81 forks source link

Possible to submit a questionnaire with two geometries #1635

Open dpalomino opened 7 years ago

dpalomino commented 7 years ago

Steps to reproduce the error

  1. Create a project with two geometries in the questionnaire (using different field names)
  2. Project is successfully created
  3. Download form from ODK
  4. Submit a response containing two geometries
  5. Response is accepted
  6. Only the first geometry is considered (which is acceptable)

Actual behavior

See above

Expected behavior

XLSForm file should be rejected when uploading it.

dpalomino commented 7 years ago

David to provide some examples of this.

dpalomino commented 7 years ago

Example:

Urban Informal Settlements (Many-1) Form_2_geometries.xlsx

wonderchook commented 7 years ago

@dpalomino have you confirmed that the 2nd geom isn't being stored as custom attribute?

dpalomino commented 7 years ago

Hey @wonderchook. Yes, I've double checked and the second geometry is not stored in the location entities...