SORMAS-Project
SORMAS-Project copied to clipboard
Allow editing of aggregated reports for diseases that have been disabled
Problem Description
When aggregated reports are created for a certain disease, and then the disease is disabled from the Data Base, the user is no longer able to see or edit the respective disease in the report that was previously created.
Steps to reproduce:
- Create an aggregated report for Malaria;
- In the DB, in the 'diseaseconfiguration' table, set the value 'false' for 'aggregatereportingenabled';
- Save the changes in the DB and restart your local server;
- Navigate to the mSERS directory, 'Report Data' tab and open the report created at step 1.
Actual behavior: The disease Malaria is not visible among the disease listed in the report.
Proposed Change
When building the list of AggregateReportForm, make sure that it contains entries for all existing data.
@MartinWahnschaffe Could you please take a look over this and provide further details for the implementation, as for #9770?
Acceptance Criteria
Implementation Details
Additional Information
@MateStrysewske Please add the implementation details, since I'm not available.