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

Failure to load datatypes #988

Closed
joseluratm opened this issue May 29, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@joseluratm
Copy link

commented May 29, 2019

Request Type

Bug

Work Environment

Question Answer
OS version (server) Ubuntu
TheHive version / git hash 3.3.0
Package Type Binary
Browser type & version Chrome

Problem Description

I have noticed that if in Observables, in the view of "Observable datatypes management" if we add a datatype and it is repeated, when we click on a case in the 'Add observables' button, the elements do not appear in the dropdown list. And in the browser console we receive this message:

Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: type in types, Duplicate key: string:cookie, Duplicate value: cookie

Steps to Reproduce

  1. Repeat observable DataType
  2. Go to Add observable in a case
  3. The dropdown doesnt show nothing

Possible Solutions

  • Avoid that a datatype that exist doesnt can create.

Complementary information

(add anything that can help identifying the problem such as log excerpts, screenshots, configuration dumps etc.)

@nadouani nadouani self-assigned this May 29, 2019

@nadouani nadouani added the bug label May 29, 2019

@nadouani nadouani added this to the 3.4.0-RC1 milestone Jun 5, 2019

@nadouani

This comment has been minimized.

Copy link
Contributor

commented Jun 5, 2019

How did you add a duplicate datatype? This is not allowed by TheHive

nadouani added a commit that referenced this issue Jun 5, 2019

@nadouani nadouani closed this Jun 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.