SORMAS-Foundation / SORMAS-Project

SORMAS (Surveillance, Outbreak Response Management and Analysis System) is an early warning and management system to fight the spread of infectious diseases.
https://sormas.org
GNU General Public License v3.0
292 stars 140 forks source link

Platelets fills and updates prothrombinTime in additional tests #8882

Closed kwa20 closed 2 years ago

kwa20 commented 2 years ago

Bug Description

When filling or changing the platelets in additional tests, prothrombinTime also gets filled or overwritten.

Steps to Reproduce

  1. Open a sample and create an additional test
  2. Enter platelets without entering prothombrinTime and save
  3. Check the created entry
  4. Open the entry and change the platelets value, save
  5. Check the entry

Expected Behavior

platelets should not update or overwrite prothombrinTime

Screenshots

PlateletsProthrombin

System Details

Additional Information

StefanKock commented 2 years ago

Maybe to/fromDto methods are flawed

roxanamlendea commented 2 years ago

Verified ticket on local environment using the latest version of Sormas 1.71.0-SNAPSHOT (af0201e) from the development branch.