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

Widget number always display 0 when asking to count relationships "contains" #6089

Closed
lndrtrbn opened this issue Feb 23, 2024 · 0 comments · Fixed by #6091
Closed

Widget number always display 0 when asking to count relationships "contains" #6089

lndrtrbn opened this issue Feb 23, 2024 · 0 comments · Fixed by #6091
Assignees
Labels
bug use for describing something not working as expected filters temporarily used to identify filter issue to facilitate filter team’s work identification solved use to identify issue that has been solved (must be linked to the solving PR)
Milestone

Comments

@lndrtrbn
Copy link
Member

Description

In the dashboard. When I create a widget Number on knowledge graph and I create a filter "relationship type = contains" I always have 0 as result even if there are relationships of this type.

Environment

  1. OS (where OpenCTI server runs): { e.g. Mac OS 10, Windows 10, Ubuntu 16.4, etc. }
  2. OpenCTI version: 5.1.33
  3. OpenCTI client: frontend
  4. Other environment details:

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Go to a dashboard.
  2. Add a new widget.
  3. Select "Number" and "Knowledge graph".
  4. Add a filter "Relationship type = contains".
  5. Create.

Expected Output

Display the real number of relationships.

Actual Output

Display 0.

Additional information

image

Same filter but with widget vertical bar which is working.

@lndrtrbn lndrtrbn added bug use for describing something not working as expected filters temporarily used to identify filter issue to facilitate filter team’s work identification labels Feb 23, 2024
@lndrtrbn lndrtrbn added this to the Release 6.0.0 milestone Feb 23, 2024
richard-julien added a commit that referenced this issue Feb 24, 2024
Co-authored-by: Julien Richard <julien.richard@filigran.io>
@richard-julien richard-julien added the solved use to identify issue that has been solved (must be linked to the solving PR) label Feb 24, 2024
Archidoit added a commit that referenced this issue Jun 6, 2024
Co-authored-by: Julien Richard <julien.richard@filigran.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug use for describing something not working as expected filters temporarily used to identify filter issue to facilitate filter team’s work identification solved use to identify issue that has been solved (must be linked to the solving PR)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants