icingaweb2 icon indicating copy to clipboard operation
icingaweb2 copied to clipboard

Filter is beeing deleted after a second argument is added and the Enter button is hit

Open LordHepipud opened this issue 8 years ago • 2 comments

Filters within Icinga Web 2 are beeing deleted, once a second entry is beeing added and confirmed with the Enter button

Expected Behavior

Confirming filter inputs with the Enter button should always be possible and not delete the filter

Current Behavior

Filters are beeing deleted once an entry is confirmed with Enter

Possible Solution

Possibly a focus issue within the form?

Steps to Reproduce (for bugs)

  1. Switch to services view
  2. Create a new filter for any object / custom variable, confirm it with Enter
  3. Click on the + to create a new filter input
  4. Select any object / custom variable
  5. Enter a filter value into the input field and press Enter
  6. The entire filter is deleted

Context

Quickly adding filters will cause filters to become deleted and makes the overall usage a little messy. Right now the workaround is to click on the Apply button

Your Environment

  • Icinga Web 2 version and modules (System - About): 2.5.3
  • Version used (icinga2 --version): 2.8.4
  • Operating System and version: Debian Jessie

LordHepipud avatar May 09 '18 14:05 LordHepipud

Wanted to create the same issue. I can confirm it and find it a little annoying as well. Thanks for reporting it @LordHepipud

  • Icinga Web 2 Version 2.5.3
  • icinga2 --version (version: r2.8.4-1)
  • OS: Debian GNU/Linux 9.4 (stretch)

fabide avatar May 16 '18 12:05 fabide

Hello guys, Can you try to change the charset set in your ressource database from utf8 or latin to nothing ? I did it and it solved that issue for me.

DisSsha avatar May 17 '18 07:05 DisSsha