MonarcAppFO icon indicating copy to clipboard operation
MonarcAppFO copied to clipboard

incorrect inheritance on impacts

Open K8Sudo opened this issue 3 months ago • 1 comments

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:

  1. Create 2 Primary Asset
  2. Create a Secundary Asset as Global
  3. Link the Secundary Asset to both primary Assets
  4. 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

Image Image Image Image

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

K8Sudo avatar Sep 04 '25 10:09 K8Sudo