ThalesGroup / security-risk-assessment-tool

The ISRA security-risk-assessment-tool project is an Electron based application used to do security risk assessments at a technical level
BSD 4-Clause "Original" or "Old" License
22 stars 7 forks source link

fix the validation of supporting asset attributes when changing business asset or name #268

Closed ThomasDThales closed 3 months ago

ThomasDThales commented 3 months ago

Bugged behaviors: 1) When the business asset was doubled, no error was display on the input. image

2) It was also possible to see the Id and Supporting Asset text to black instead of red when there are still issues image

Duplicate Steps for 1): Select 2 times the same Business Asset for the same Supporting Asset

Duplicate Steps for 2): Add a new select input See the Name (in List of Supporting Assets), Id & Supporting Asset (in Supporting Asset / Business Assets) turn red Delete the Name (in List of Supporting Assets) Set the Name (in List of Supporting Assets) See the Name (in List of Supporting Assets) turn red but not Id & Supporting Asset (in Supporting Asset / Business Assets)

Post fix behavior: image