Closed
Description
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:
Steps to Reproduce
- Close a case.
- 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.