NERC-CEH / irecord-app

📱iRecord mobile application
https://irecord.org.uk/app/
GNU General Public License v3.0
6 stars 7 forks source link

Incorrect editing behaviour can cause loss of records #248

Closed kitenetter closed 1 year ago

kitenetter commented 1 year ago

This problem was found by Marc Botham and I have been able to reproduce it. So far we've only checked for this in relation to the Moths survey within the app, not yet sure if it also applies to other surveys.

In the moths survey, the steps are:

  1. Add a list of several species
  2. Edit the species name for one species, e.g. species 3 on the list
  3. The newly chosen name then over-writes species 1 on the list, while species 3 remains unchanged

This can obviously lead to incorrect records being submitted, and correct ones being lost.

kitenetter commented 1 year ago

As far as I can tell the editing problem only applies to the moth survey part of the app. Editing on the other surveys results in changes being applied to the correct species in the list.

kazlauskis commented 1 year ago

Thanks, I can also reproduce this issue and will fix it asap.