New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using "Clear value" functionality in input type dropdown breaks input creation #2297

Closed
dennisoelkers opened this Issue May 27, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@dennisoelkers
Member

dennisoelkers commented May 27, 2016

Problem description

After using the "Clear value"-functionality (symbolized as a small x in the right part of the dropdown) of the input type dropdown, the dropdown does not work anymore. Selecting an input type fails, also opening the configuration modal.

Steps to reproduce the problem

  1. Go to system/inputs page
  2. Select an input type from inputs dropdown
  3. Press the x-button ("Clear value") to the right of the input type inside the dropdown
  4. Try to select an input type again

Environment

  • Graylog Version: 2.0.2
  • Elasticsearch Version:
  • MongoDB Version:
  • Operating System:
  • Browser version:

@dennisoelkers dennisoelkers added the bug label May 27, 2016

@dennisoelkers dennisoelkers added this to the 2.x milestone May 27, 2016

@dennisoelkers dennisoelkers self-assigned this May 27, 2016

dennisoelkers added a commit that referenced this issue May 27, 2016

Check if props actually contain configuration fields before copying them
This helps against the dropdown breaking because of an unhandled
exception due to a deselected input type and the following nonpresence
of configuration fields in the on change handler.

Fixes #2297

@kroepke kroepke added S3 P3 labels May 30, 2016

edmundoa added a commit that referenced this issue May 30, 2016

Check if props actually contain configuration fields before copying t…
…hem (#2298)

This helps against the dropdown breaking because of an unhandled
exception due to a deselected input type and the following nonpresence
of configuration fields in the on change handler.

Fixes #2297

@edmundoa edmundoa closed this in b24d09d May 30, 2016

@kroepke kroepke added the triaged label Sep 21, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment