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

[Bug] Deleting a shared case on org2 doesn't delete task from the Org1 resulting in log spam and undeletable task #1767

Closed
azgaviperr opened this issue Feb 1, 2021 · 1 comment
Assignees
Labels
bug TheHive4 TheHive4 related issues
Milestone

Comments

@azgaviperr
Copy link

Work Environment

Question Answer
OS version (server) CentOS
OS version (client) 10
TheHive version / git hash 4.0.4-1
Package Type Docker
Browser type & version Chrome

Describe the bug

Task persist on other organisation if a case is removed from an other org after case sharing.
Those task can be taken with an error message but can"t be deleted or interracted with

To Reproduce
Steps to reproduce the behavior:

  1. Create a task from template with task list.
  2. Share it directly to an organization 1.
  3. Switch to the organization 2 (same user or not) and delete the case.
  4. See that task and case are deleted on organisation 2. But only case deleted on Organization 1, as task persi

Expected behavior

Deleted cas while shared should also delete all other link to the case on other org. TASK/OBSERVABLE etc

Complementary information
If applicable, add screenshots and any additional information that might help explain your problem.

Possible solutions
None yet

Additional context
Add any other context about the problem here.

Complementary information

(add anything that can help identifying the problem such as log excerpts, screenshots, configuration dumps etc.)

When clicking on take on a task
image

lot of error in logs : certex doesn't comply

[error] o.t.s.t.TraversalOps [|067a86ef] vertex 460968176 doesn't comply with its schema, field data is missing:
v[460968176]
[error] o.t.s.t.TraversalOps [|067a86ef] vertex 460968176 doesn't comply with its schema, field _createdAt is missing:
v[460968176]
[error] o.t.s.t.TraversalOps [|067a86ef] vertex 460968176 doesn't comply with its schema, field _createdBy is missing:

@azgaviperr azgaviperr added TheHive4 TheHive4 related issues bug labels Feb 1, 2021
@nadouani nadouani added this to the 4.1.0 milestone Feb 1, 2021
@To-om
Copy link
Contributor

To-om commented Mar 18, 2021

This has been bixed by #1606

@To-om To-om closed this as completed Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug TheHive4 TheHive4 related issues
Projects
None yet
Development

No branches or pull requests

3 participants