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] Adding a custom-field on an open case requires a reload, otherwise field is not visible #1336

Closed
crackytsi opened this issue May 15, 2020 · 0 comments
Assignees
Labels
bug TheHive4 TheHive4 related issues
Milestone

Comments

@crackytsi
Copy link

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...

@crackytsi crackytsi added TheHive4 TheHive4 related issues bug labels May 15, 2020
@nadouani nadouani self-assigned this May 15, 2020
@nadouani nadouani added this to the 4.0.0-RC3 milestone May 15, 2020
nadouani added a commit that referenced this issue May 22, 2020
…tor the case and alert custom fields sections
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

2 participants