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

Extend the info text in the 'Data import' dialogue to mention the entities skipped as duplicates

Open adinaflorea9 opened this issue 1 year ago • 0 comments

Problem Description

Currently, when imports are done and they are partially successful as some entities were skipped as duplicates, we do not inform the user in the info text of the 'Data import' dialogue about the duplicate entities skipped, but only that there was malformed data.

Proposed Change

The info text of the 'Data import' dialogue for imports where entities were skipped as duplicates should be extended to mention the entities that were skipped as duplicates.

Added Value/Benefit

Consistency of the info text and the counter of entities in the 'Data import' dialogue.

Acceptance Criteria

  • [ ] when the import of data was partially successful, and some entities were not imported as they were skipped as duplicates, update the info text to say 'The import has been successful, but some of the rows were skipped as duplicates. Please close this window and download the error report';
  • [ ] when the import of data was partially successful, and some entities could not be imported due to malformed data, while others were skipped as duplicates, update the info text to say 'The import has been partially successful, but some of the rows could not be imported due to malformed data, and some were skipped as duplicates. Please close this window and download the error report';
  • [ ] the updates on the test should be applied in any place where the 'Data import' dialogue can appear from (any directory where imports have been implemented).

Implementation Details

No response

Mockups

No response

Additional Information

No response

adinaflorea9 avatar Jan 03 '24 12:01 adinaflorea9