Graylog2 / Graylog2/graylog2-server

Geo Ip configuration dialog stuck after initially specifying invalid file

Open
#15,256 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

## Expected Behavior

When configuring the Geo-Location Processor Configuration, I should be able to disable it again after having specified an invalid geo ip database file.

## Current Behavior

When enabling the geo ip processor in System -> Configurations and clicking on "Update configuration" for the default settings, the dialog is stuck in something like a validation loop. It is still possible to disable the checkbox again, but the buttons will stay disabled. The only option to leave the dialog is to "cancel" it by clicking outside of it.

![geo-location dialog](https://user-images.githubusercontent.com/41929/232703229-c36ab733-24a0-4570-ae72-7a4da071a5ae.gif)

## Possible Solution

## Steps to Reproduce (for bugs)

1. Go to "Systems" -> "Configuration" -> "Plugins" -> "Geo-Location Processor"
2. Click on "Edit configuration"
3. Check "Enable Geo-Location processor"
4. Point database files to non-existing locations
5. Click on "Update configuration"

## Context

## Your Environment

* Graylog Version: Graylog 5.1.0-beta.1
* Java Version:
* Elasticsearch 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.