Skip to content

[Bug] Adding a custom-field on an open case requires a reload, otherwise field is not visible #1336

Closed
@crackytsi

Description

Request Type

Bug

Work Environment

Question Answer
OS version (server) Debian, Ubuntu, CentOS, RedHat, ...
OS version (client) XP, Seven, 10, Ubuntu, ...
TheHive version / git hash 3.x, hash of the commit
Package Type RPM, DEB, Docker, Binary, From source
Browser type & version If applicable

Problem Description

When adding a custom field to a case the field is not directly visible. Instead an existing (the last?) custom-field is shown twice.
Evertything is correctly stored, so performing a page reload shows it correctly.

Steps to Reproduce

  1. Create a case with 2 custom-fields (by template)
  2. add a 3rd custom-field in the open case
  3. You can see the newly added custom field twice
  4. Reload the page, now everythig is fine :)

Possible Solutions

Show the added field instead of the newly added one. Hopefully it is a race-condition of storage...

Metadata

Assignees

Labels

TheHive4TheHive4 related issuesbug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions