NHMDenmark / Mass-Digitizer

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

App version 1.1.30: Deleting a previous containername does not remove the corresponding containertype #481

Closed jlegind closed 4 months ago

jlegind commented 4 months ago

Describe the bug When stepping back through the digitized records and removing a containername will not remove its brother the containertype.

To Reproduce Steps to reproduce the behavior:

  1. In the Digi app enter a handful of records with 'Multiple specimens on one object' radio button set.
  2. Step back to an earlier record and delete the 'Containerid' to simulate a situation where the digitizer forgot to reset the radio button.
  3. Save the record
  4. See the behavior in the DB: The Containerid is removed, yet the Containername remains

Expected behavior The two concepts belong together and I think they should both be removed when the Containerid is deleted.

Please complete the following information:

FedorSteeman commented 4 months ago

Fixed.