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
293 stars 142 forks source link

Detailed case export file is empty when cases with unknown previous hospitalization entries #6521

Closed kwa20 closed 3 years ago

kwa20 commented 3 years ago

Bug Description

When previous hospitalizations are entered where location data is unknown, detailed case exports produce an empty file.

Steps to Reproduce

  1. Create a case
  2. Enter a previous hospitalization
  3. Set region, district and hospital to unknown
  4. Perform a detailed export where the created case is included
  5. Check the exported file

Expected Behavior

Values should be exported as unknown

Screenshots

prevHospExportError

System Details

Additional Information

roxanamlendea commented 3 years ago

Validated ticket on the latest version of Sormas 1.64.0-SNAPSHOT on environment test.sormas.netzlink.com and test-de.sormas.netzlink.com.