Graylog2 / Graylog2/graylog2-server

Error when rendering Single Message view for message in deleted input

Open
#6,174 3 comments 0 reactions 0 assignees View on GitHub
bug triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

An error occurs when the following GET request is executed when viewing the Single Message page for a message that was received through an input which is now deleted.

`GET http://localhost:9000/api/system/inputs/{input-id}`

![image](https://user-images.githubusercontent.com/3423655/61565881-08932280-aa40-11e9-9040-5867f7c72cc5.png)

## Expected Behavior
I am not sure what is loading this Input details resource on this page, but it does not work when the input is deleted.

## Possible Solution

## Steps to Reproduce (for bugs)
1. Receive a message in Graylog.
2. Delete the input that the message was received through.
3. Go to the search page and find the message.
4. Click the message to go to the Message Details page.

## Context

## Your Environment

* Graylog Version: Graylog 3.1.0-beta.3-SNAPSHOT (master)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.