NHMDenmark / Mass-Digitizer

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

Record saved without entering new barcode #394

Closed PipBrewer closed 11 months ago

PipBrewer commented 11 months ago

Issue

If I press save multiple times without entering anything new, it copies barcode from previous records and creates a new record.

Acceptable result

A record should never be saved having an incomplete or missing Barcode field. Since Barcodes are unique within the collection, no two barcodes should ever be the same.

FedorSteeman commented 11 months ago

Can't replicate. Presumed fixed.

bhsi-snm commented 11 months ago

duplicate of #395

jlegind commented 10 months ago

Fixed by implementing validateBarCodeDigits() and validateBarCodeLength()