Closed cptanalatriste closed 1 week ago
I have managed to allow Property Claims to move to strategies or other claims. Two issues:
Claim with 1.2 will not move to a Strategy (internal error)
When moving a 1.2 its identifier remains the same and should update to match its parent for example 5.x
The following commit fixes the problem with Sub-Claims: https://github.com/alan-turing-institute/AssurancePlatform/commit/f002c727720559cec8ac02c79e7a40925a3a4c45
On the Front-End side, we need to clear the values of the former parent (@RichGriff , please check that the change on NodeEdit.tsx
makes sense).
During the development, we found recursion errors. The issue was due to Property Claims that were parent-child of itself. I have implemented backend logic that prevents this, but it would be good to also disable this logic from the front end.
In the screenshot, it is possible to assign P1.1.
to itself. @RichGriff what's the most straightforward way of dealing with this? Remove it from the combo-box? An alert message?
I also noticed it is not yet possible to move Property Claims to the Top-Level Goal. @chrisdburr do you need this feature? I do not think it needs much effort.
@cptanalatriste I have updated this on our bug branch https://github.com/alan-turing-institute/AssurancePlatform/commit/e3fae246e896a4d9d6c1393ab4ad4d21dc1a3caf So that the current property claim doesn't appear in the list.
@cptanalatriste to look at the identifier bug below
@chrisdburr @kallewesterling , the fix for the bug reported by @RichGriff is already in staging. Please verify and close accordingly.
Almost there!
However, you can't move a property claim to a goal claim.
Please make sure that all relationships as defined in this standard are supported: https://hackmd.io/F0EeWVrxRGe8f93KGOIzjA#Relationships
The bug reported by @RichGriff was fixed in PR: https://github.com/alan-turing-institute/AssurancePlatform/pull/505/files
The issue with moving Property Claims will be addressed as part of: https://github.com/alan-turing-institute/AssurancePlatform/issues/482
@chrisdburr @kallewesterling I suggest to close this issue.
Thanks, @cptanalatriste
Summary
You're not able to move Property Claims to strategies in the following scenarios:
Steps to reproduce
In the following case:
It is not possible to move
P2
orP1.1
NOTE: Moving property claims under other property claims will be addressed in other issue.
What you expected to happen/ what really did happen
You should be able to move
P2
orP1.1
to eitherS1
orS2
.Version/ platform
Issue detected on staging, after merge https://github.com/alan-turing-institute/AssurancePlatform/commit/98d6e41d069f5d6b0fbdc3c69fc9310c06976800