-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recommendation added twice to a risk after export and reimport of RiskAnalysis in monarc (v2.12.7) #544
Comments
Thank you for the report. |
Could you tell if it's possible to remove/detach the extra recommendation linked to the risk ? |
I had tried this solution before posting this request and it works however there are two problems with this workaround:
|
I just noticed that v2.13.1 is already released. I will download this version and verify the fix at my end and is all is good i will close this issue. Thanks a lot. |
There is one thing to mention that exported analysis JSON files from v2.13.1 are not compatible to be imported into previous versions. But the opposite way is ok, the older versions files can be imported into v2.13.1. |
Dear Ruslan, Thanks for the fix. I have verified the issue is fixed in v2.13.1. The loading of JSON file is super fast with this version. Are there some significant changes that went into this release causing the perf improvement ? Just wondering if there could be a functionality impact and I should be doing a validation at my end (maybe not simple to do). |
The release notes are available on the release page https://github.com/monarc-project/MonarcAppFO/releases/tag/v2.13.1. |
Discussed in #543
Originally posted by ritikalux October 29, 2024
If i add a recommendation to a specific risk. Given that the asset instance is connected to multiple branches as an example below.
The recommendation gets added twice after exporting the risk analysis JSON and importing the JSON again to a new risk analysis:
ILR_En_Gas_Supply of natural gas > ILR_En_Gas_Sup_Trading/Purchasing > ILR_En_Gas_Gen_Air conditioning
ILR_En_Gas_Supply of natural gas > ILR_En_Gas_Sup_Customer Management > ILR_En_Gas_Gen_Air conditioning
ILR_En_Gas_Supply of natural gas > ILR_En_Gas_Sup_Market communication > ILR_En_Gas_Gen_Air conditioning
I am attaching a sample JSON where you can see the issue in ILR_En_Gas_Gen_Air conditioning and also a screenshot of the issue.
TemplateGasSupplyonlyWithOneReco.json
The JSON file was generated with an analysis with only one recommendation added to this risk.
The text was updated successfully, but these errors were encountered: