Graylog2 / Graylog2/graylog-plugin-integrations

Validate Custom Message Template

Open
#648 0 comments 0 reactions 0 assignees View on GitHub
#M bug slack-plugin ux
Dominant language
Java
Stars
17
Forks
14
PR merge metrics
No merged PRs in 30d

Description

## Description
* Validate the custom message template in the `validate` method of the SlackEventNotificationConfig and add "Invalid Custom message template" error to the result, so that the field comes in red. Today, the error message is in the bottom is not tied to the field.
* remove validate method from `execute` https://github.com/Graylog2/graylog-plugin-integrations/pull/639#discussion_r524469627

Refer Improvements section:
https://github.com/Graylog2/graylog-plugin-integrations/issues/623

## Screen Shot
![custom_message_invalid_template](https://user-images.githubusercontent.com/6947168/98980805-b7375e00-24e2-11eb-8c93-3c116126807f.png)

## Steps To Reproduce
1. Refer screenshot to see, how to input a invalid custom message template.

## Environment
- Graylog Version:
- Elasticsearch Version:
- MongoDB Version:
- Browser Version:

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.