openhab / openhab-webui

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

Unable to pick non-semantic items in rules if they have metadata #2268

Open Proton23 opened 4 months ago

Proton23 commented 4 months ago

The problem

I opened up a thread on the openhab forum which describes the problem. While creating a rule I was not able to pick non-semantic items with metadata as shown in my posting.

Expected behavior

Every item should be pickable.

Your environment

runtimeInfo:
  version: 4.1.0
  buildString: Release Build
locale: de-DE
systemInfo:
  configFolder: /etc/openhab
  userdataFolder: /var/lib/openhab
  logFolder: /var/log/openhab
  javaVersion: 17.0.9
  javaVendor: Debian
  osName: Linux
  osVersion: 6.1.21-v8+
  osArchitecture: aarch64
  availableProcessors: 4
  freeMemory: 322376336
  totalMemory: 629145600
  uptime: 537665
  startLevel: 100
addons:
  - automation-jsscripting
  - automation-jsscriptingnashorn
  - binding-amazonechocontrol
  - binding-astro
  - binding-exec
  - binding-gardena
  - binding-homematic
  - binding-ipcamera
  - binding-modbus
  - binding-mqtt
  - binding-network
  - binding-openweathermap
  - binding-shelly
  - binding-tplinksmarthome
  - binding-zigbee
  - binding-zwave
  - misc-openhabcloud
  - persistence-rrd4j
  - transformation-jsonpath
  - 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: false
    cordova: false
    phonegap: false
    electron: false
    nwjs: false
    webView: false
    webview: false
    standalone: false
    pixelRatio: 1
    prefersColorScheme: dark
  isSecureContext: true
  locationbarVisible: true
  menubarVisible: true
  navigator:
    cookieEnabled: true
    deviceMemory: 8
    hardwareConcurrency: 16
    language: de-DE
    languages:
      - de-DE
      - de
      - en-US
      - en
    onLine: true
    platform: Linux x86_64
  screen:
    width: 2560
    height: 1440
    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 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
    Gecko) Chrome/120.0.0.0 Safari/537.36
timestamp: 2024-01-14T01:25:10.484Z
florian-h05 commented 3 months ago

Can you please follow the issue template and add browser console output as well as network activity? All requests to the /rest/items endpoint as well as any error in the console might be interesting.

I cannot reproduce this issue on 4.2.0 SNAPSHOT 3851 using this Item definition:

Group gLicht
Switch Light_1 (gLicht)
Switch Light_2 ["Lightbulb"]

and adding Alexa metadata to the Light_2 Item.

Proton23 commented 3 months ago

Hi, I'm sorry for my late response. No errors appear either in the console or in the network traffic console

All requests to the /rest/items endpoint as well as any error in the console might be interesting.

I don't know how to provide this information.

Best regards