TheHive-Project / TheHive

TheHive: a Scalable, Open Source and Free Security Incident Response Platform
https://thehive-project.org
GNU Affero General Public License v3.0
3.28k stars 605 forks source link

[Bug] Duplicated data after merging two cases #2429

Open dominiksr opened 1 year ago

dominiksr commented 1 year ago

Request Type

Bug

Work Environment

Question Answer
OS version (server) Ubuntu
OS version (client) 10
Virtualized Env. False
Dedicated RAM 16GB
vCPU 8
TheHive version / git hash 4.1.24
Package Type DEB
Database Cassandra
Index type Elasticsearch
Attachments storage Local

Problem Description

After the merge of the two cases, data such as tasks, description and fields in additional information were duplicated even if they presented the same information. For example, a custom field named test1 of string type with the value test1 if it occurs in both cases will be duplicated after merge.

Steps to Reproduce

  1. Enter first case
  2. Click Merge and choose other case
  3. Click Merge