MonarcAppFO icon indicating copy to clipboard operation
MonarcAppFO copied to clipboard

[FrontOffice] Recommendations can be linked to the same risk more than once

Open ruslanbaidan opened this issue 3 years ago • 1 comments

Describe the bug The same recommendations are linked to the same risks more than once.

To Reproduce To be described.

Expected behavior Recommendations should not be duplicated.

Screenshots Screenshot 2022-09-12 at 15 19 12

ruslanbaidan avatar Sep 12 '22 13:09 ruslanbaidan

The frontend duplication was fixed by validating if riskId is set to fetch the recommendations-risks data.

The following things to do:

  1. There is a loading time issue in case of many recommendations linked to risks. As a solution, the linked recommendations can be added to the risk data when we open it for edit.
  2. The recommendations duplications for the global risks that are presented more than once in the analysis. The second one has duplicated the same recommendation.

ruslanbaidan avatar Sep 19 '22 12:09 ruslanbaidan