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 close notification displays "#undefined" instead of case number #1488

Closed
DrJohn1 opened this issue Aug 23, 2020 · 1 comment
Closed
Assignees
Labels
bug TheHive4 TheHive4 related issues
Milestone

Comments

@DrJohn1
Copy link

DrJohn1 commented Aug 23, 2020

When closing a case, the notification will show "The case #undefined has been closed" on the notification (bug)

Request Type

Bug

Work Environment

Question Answer
OS version (server) Ubuntu 18.04
OS version (client) Ubuntu 18.04
TheHive version / git hash 4.0.0-1
Package Type DEB

Problem Description

Closing case notification shows undefined instead of case number:
Issue_CloseCaseUndefined

Steps to Reproduce

  1. Close a case.
  2. The notification will show #undefined.

Possible Solutions

Changing the variable caze.caseId to caze.number in line 95 of frontend/app/scripts/controllers/case/CaseCloseModalCtrl.js seems to fix the issue.

@DrJohn1 DrJohn1 added TheHive4 TheHive4 related issues bug labels Aug 23, 2020
@nadouani nadouani self-assigned this Aug 24, 2020
@To-om To-om added this to the 4.0.1 milestone Sep 9, 2020
@To-om
Copy link
Contributor

To-om commented Sep 9, 2020

Fixed by #1515

@To-om To-om closed this as completed Sep 9, 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

3 participants