Graylog2 / Graylog2/graylog2-server

Error toast when converting from rule builder to source code editor

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

Description

An error pops up when converting a pipeline rule created in rule builder to source code.
Functionality is not impaired, but it is confusing.

## Expected Behavior

No error

## Current Behavior

Image

## Possible Solution

Frontend needs to add `_scope` attribute to rule record

## Steps to Reproduce (for bugs)

1. Choose _Create pipeline rule_ on the _Manage rules_ tab
2. Build a valid rule
3. Click Convert to Source Code
4. Confirm by clicking _Create new Rule from Code_
5. Observe error popup

## Your Environment

* Graylog Version: 7.1

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.