bihealth / sodar-server

SODAR: System for Omics Data Access and Retrieval
https://github.com/bihealth/sodar-server
MIT License
14 stars 3 forks source link

Ontology term modal notifies of overwrite when updating empty value #1973

Closed mikkonie closed 3 months ago

mikkonie commented 3 months ago

This is obviously a bug. If there is no current entry this should not be displayed.

I noticed this while upgrading packages for #1972. First I thought it was a side-effect of dependency upgrades but no, it's also present in the previous package state.

How to reproduce:

  1. Configure an ontology column to not allow list
  2. Edit a cell in the column with an empty value
  3. Add an ontology term
  4. Observe the message Multiple terms not allowed in this column, current entry will be overwritten.
mikkonie commented 3 months ago

Fixed.