openhab / openhab-webui

Web UIs of openHAB
Eclipse Public License 2.0
212 stars 232 forks source link

Tag of Rule cannot be deleted #2546

Open Boldfor opened 1 week ago

Boldfor commented 1 week ago

The problem

After having created a rule and included two tags, only the second tag can be deleted by clicking on the "x". The first tag, however, cannot be deleted anymore. When clicking on the "x", nothing happens. image

Expected behavior

When being in "Edit"-mode of a rule, the first tag can be deleted by clicking on the "x" next to the tag.

Steps to reproduce

So far I have not been able to reproduce this on another rule. However, I could provide logs of the unsuccessful attempt to remove the first tag if someone lets me know the log level.

Your environment

runtimeInfo:
  version: 4.1.1
  buildString: Release Build
locale: en-DE
systemInfo:
  configFolder: /openhab/conf
  userdataFolder: /openhab/userdata
  logFolder: /openhab/userdata/logs
  javaVersion: 17.0.9
  javaVendor: Debian
  osName: Linux
  osVersion: 6.1.0-rpi8-rpi-2712
  osArchitecture: aarch64
  availableProcessors: 4
  freeMemory: 228846736
  totalMemory: 1065353216
  uptime: 509222
  startLevel: 100
addons:
  - automation-jsscripting
  - binding-amazonechocontrol
  - binding-gardena
  - binding-homematic
  - binding-irobot
  - binding-mqtt
  - binding-systeminfo
  - binding-yamahamusiccast
  - binding-zigbee
  - binding-zwave
  - misc-openhabcloud
  - persistence-influxdb
  - persistence-rrd4j
  - transformation-jinja
  - transformation-jsonpath
  - transformation-regex
  - transformation-xpath
  - ui-basic
  - ui-habpanel
clientInfo:
  device:
    ios: false
    android: false
    androidChrome: false
    desktop: true
    iphone: false
    ipod: false
    ipad: false
    edge: false
    ie: false
    firefox: false
    macos: false
    windows: true
    cordova: false
    phonegap: false
    electron: false
    nwjs: false
    webView: false
    webview: false
    standalone: false
    os: windows
    pixelRatio: 1
    prefersColorScheme: dark
  isSecureContext: false
  locationbarVisible: true
  menubarVisible: true
  navigator:
    cookieEnabled: true
    deviceMemory: N/A
    hardwareConcurrency: 16
    language: de
    languages:
      - de
      - de-DE
      - en
      - en-GB
      - en-US
    onLine: true
    platform: Win32
  screen:
    width: 1920
    height: 1200
    colorDepth: 24
  support:
    touch: false
    pointerEvents: true
    observer: true
    passiveListener: true
    gestures: false
    intersectionObserver: true
  themeOptions:
    dark: dark
    filled: true
    pageTransitionAnimation: default
    bars: light
    homeNavbar: default
    homeBackground: default
    expandableCardAnimation: default
  userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML,
    like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0
timestamp: 2024-04-21T17:46:38.969Z

Browser console

Browser network traffic

Additional information

rkoshak commented 1 week ago

Refresh the page, does the tag reappear?

Is there anything relevant in the logs, both the server and the browser console?

I've tried it several different ways and cannot reproduce the behavior.

Boldfor commented 1 week ago

Refresh the page, does the tag reappear?

Yes.

Is there anything relevant in the logs, both the server and the browser console?

As said, if you let me know the openHAB-log level that would be relevant, I could check. With the default log level. the openHAB-log is empty. With regards to the Browser, it's tricky, as the Edge-console throws quite a number of errors or warnings (but also on other backend pages): image