Skip to content

[Bug] Case close notification displays "#undefined" instead of case number #1488

Closed
@DrJohn1

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:
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.

Metadata

Assignees

Labels

TheHive4TheHive4 related issuesbug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions