SORMAS-Project icon indicating copy to clipboard operation
SORMAS-Project copied to clipboard

Allow editing of aggregated reports for diseases that have been disabled

Open adinaflorea9 opened this issue 3 years ago • 1 comments

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:

  1. Create an aggregated report for Malaria;
  2. In the DB, in the 'diseaseconfiguration' table, set the value 'false' for 'aggregatereportingenabled';
  3. Save the changes in the DB and restart your local server;
  4. 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

adinaflorea9 avatar Aug 09 '22 08:08 adinaflorea9

@MateStrysewske Please add the implementation details, since I'm not available.

MartinWahnschaffe avatar Aug 10 '22 12:08 MartinWahnschaffe