NHMDenmark / Mass-Digitizer

Common repo for the DaSSCo team
Apache License 2.0
2 stars 0 forks source link

"go back" button in DigiApp also ticks off "specimen obscured" and "label obscured". #517

Open RebekkaML opened 3 months ago

RebekkaML commented 3 months ago

FROM ISSUES LOG No. 123 by Rebekka Lesske

Probably the same / related to https://github.com/NHMDenmark/Mass-Digitizer/issues/494?

When using the "go back" button in the DigiApp, the "specimen obscured" and "label obscured" buttons are also automatically checked off. However, this does not go through to the database, it only shows it in the App. This doesn't cause wrong data, it's just annoying because you think you have to go back and correct it, and it can be very irritating for people not used to this problem.

To Reproduce

  1. Enter an specimen into the DigiApp, press "save"
  2. Click on "go back", observe that now the radiobuttons for "specimen obscured" and "label obscured" are selected. (see screenshot)
  3. click "save"
  4. Open the db database and see that "specimen obscured" and "label obscured" are = False, even though they appeared to be selected in the DigiApp.

Expected behavior

When clicking "go back", the DigiApp should only display the last entry, without changing any of the entered information.

Furthermore, any information in the DigiApp should also appear in the database.

Go back issue - Copy

Please complete the following information: