Skip to content
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

[Case to Invest to Case] Cyclic relationship bug #4911

Closed
Lhorus6 opened this issue Nov 16, 2023 · 1 comment
Closed

[Case to Invest to Case] Cyclic relationship bug #4911

Lhorus6 opened this issue Nov 16, 2023 · 1 comment
Assignees
Labels
bug use for describing something not working as expected critical use to identify critical bug to fix ASAP solved use to identify issue that has been solved (must be linked to the solving PR)

Comments

@Lhorus6
Copy link

Lhorus6 commented Nov 16, 2023

Description

Prerequisite knowledge:

  • On the platform, a Task "contains" a Case
  • When you use the "Add to a container" button on an investigation, you create "contains" relationships between the container (the "from" of the relationship) and the nodes of the investigation graph.

Use case:

I have a Case to investigate. To do this, I use the "Start an investigation" function in the knowledge tab to rotate on the elements contained in my Case. Once I've finished my investigation, I want to re-import everything I've found into my Case, so I use the "Add to a container" function to import it back into the initial Case (the one from which I started the investigation). Here, the error appears.

Why the error appears

  1. I have tasks in my Case, so I have relationships : Task "contain" my Case.
  2. When I "Start an investigation" these Tasks end up as nodes in my investigation
  3. When I want to re-import the data from my investigation into my Case (with "Add to a container"), I try to create Case "contains" [All nodes in my invest graph] and therefore I try to create Case "contains" Task.

As I already have Task "contains" Case and I'm trying to create Case "contains" Task -> Cyclic relation error

Environment

5.11.13

Reproducible Steps

  1. Create a Case A
  2. Add some task
  3. Start an investigation from this case (you will see the task as node of your investigation)
  4. Click on "Add to a container" and choose your Case A
  5. Error occurs
@Lhorus6 Lhorus6 added bug use for describing something not working as expected needs triage use to identify issue needing triage from Filigran Product team labels Nov 16, 2023
@Lhorus6
Copy link
Author

Lhorus6 commented Nov 16, 2023

This issue comes from the issue #4891 that had two bugs in one

@Lhorus6 Lhorus6 changed the title [Dashboard] Cyclic relationship bug [Case to Invest to Case] Cyclic relationship bug Nov 16, 2023
@Goumies Goumies self-assigned this Nov 16, 2023
@Jipegien Jipegien added critical use to identify critical bug to fix ASAP and removed needs triage use to identify issue needing triage from Filigran Product team labels Nov 16, 2023
@SamuelHassine SamuelHassine added this to the Release 5.12.0 milestone Nov 16, 2023
@SamuelHassine SamuelHassine added the solved use to identify issue that has been solved (must be linked to the solving PR) label Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug use for describing something not working as expected critical use to identify critical bug to fix ASAP solved use to identify issue that has been solved (must be linked to the solving PR)
Projects
None yet
Development

No branches or pull requests

4 participants