MonarcAppFO
MonarcAppFO copied to clipboard
incorrect inheritance on impacts
Describe the bug In the case of two primary assets that share global assets, the effects are not inherited according to the maximum value.
Example:
Primary Asset 1: 4-2-4 Primary Asset 2: 3-3-3
The correct inheritance according to the maximum principle should be for the secondary, global asset 4-3-4
To Reproduce Steps to reproduce the behavior:
- Create 2 Primary Asset
- Create a Secundary Asset as Global
- Link the Secundary Asset to both primary Assets
- Create a Risk Analysis with both primary Assets and different impacts
Expected behavior The correct impact for the secundary asset shoud be 4-3-4
Screenshots
Desktop (please complete the following information):
| Questions | Answers |
|---|---|
| Type of issue | Bug |
| OS version (server) | Ubuntu 22.04 LTS |
| OS version (client) | MacOS, Win10, Win11, Arch Linux |
| PHP version | 8.2 |
| MONARC version / git hash | 2.13.3-p4 |
| Browser | Firefox, Chrome, Safari |