Skip to content

[Bug] Can't Delete Case Custom Field (contains [ character) After Migration #2043

Closed
@nicpenning

Description

@nicpenning

Request Type

Bug

Work Environment

Question Answer
OS version (server) Ubuntu
OS version (client) 18
Virtualized Env. True
Dedicated RAM 8 GB
vCPU 8
TheHive version / git hash 4.1.4, hash of the commit
Package Type DEB
Database Cassandra
Index type Elasticsearch
Attachments storage Local
Browser type & version Chrome

Problem Description

When I try to delete a case custom field I get an error which is likely due to using a bracket "[" character.

image

image

Steps to Reproduce

  1. Create a case custom field with a bracket in it ( "[" or "]")
  2. Migrate to TheHive4 from TheHive3
  3. Try to delete the custom field in TheHive4

Possible Solutions

Change invalid characters on the migration to valid characters so they can be deleted in the new platform.

Metadata

Metadata

Assignees

Labels

TheHive4TheHive4 related issuesbug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions