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] Case Template default values can't be set during template creation #1241

Closed
crackytsi opened this issue Mar 3, 2020 · 2 comments
Closed
Assignees
Labels
bug TheHive4 TheHive4 related issues
Milestone

Comments

@crackytsi
Copy link

Bug

Work Environment

Question Answer
OS version (server) Debian
OS version (client) 10
TheHive version / git hash 4 RC1
Package Type DEB

Problem Description

If you create a template in Thehive and want to set default values, it failes to save the template.
If you remove the default values and save and later add the values, it works again.

Steps to Reproduce

  1. Create template and try to save default values e.g. for integer values. Try to save.
  2. Save without default values and later change the values, the template can be saved.
@crackytsi crackytsi added TheHive4 TheHive4 related issues bug labels Mar 3, 2020
@crackytsi
Copy link
Author

Error message:
TemplateCtrl: Invalid value type for custom field. Expected: integer Found : Some(1) (class scala.Some)

@To-om To-om self-assigned this Mar 3, 2020
@To-om
Copy link
Contributor

To-om commented Mar 10, 2020

This issue is solved by commit ee3c19d

@To-om To-om closed this as completed Mar 10, 2020
@To-om To-om added this to the 4.0.0-RC2 milestone Mar 11, 2020
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