Graylog2 / Graylog2/graylog2-server

Event Definition - Filter & Aggregation Lookup Table form empty

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

Description

When adding a query parameter from lookup to the Filter & Aggregation form the form fields in the modal are empty when editing the parameter (only the first time).

## Expected Behavior
The parameter from lookup table form fields contain the correct values when opening again.

## Current Behavior
The parameter from lookup table form fields are empty when opening the modal for the first time. They are filled as expected when opening it the second time.

https://github.com/user-attachments/assets/b2a5e782-63f0-4bfc-9065-2645e2cd8d6e

## Possible Solution

## Steps to Reproduce (for bugs)

1. Visit `/alerts/definitions/new`
2. Fill out the first step and proceed to the second (Condition)
2. Select `Filter & Aggregation` from the dropdown
3. Type a parameter into the Search Query field, eg `$test$`
4. Click on the button `undeclared: $test`, fill out the form and save it
5. Click on the same button again to reopen the modal

## Context

## Your Environment

* Graylog Version: Graylog Cloud 6.2.0
* Java Version:
* OpenSearch Version:
* MongoDB Version:
* Operating System:
* 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.