Skip to content
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

Adding channel links via Item does not work #1618

Closed
TheNinth7 opened this issue Dec 31, 2022 · 3 comments
Closed

Adding channel links via Item does not work #1618

TheNinth7 opened this issue Dec 31, 2022 · 3 comments
Labels
bug Something isn't working main ui Main UI

Comments

@TheNinth7
Copy link

The problem

I am trying to add a Channel Link to an Item via the Item page, but when choosing Add Link and there choosing a Thing, no Channels are displayed. The Item is of type Switch and the Channel as well. I can add the link when I go via the Thing page, that shows in principle the linking works, only not via the Item page.

Expected behavior

The Channel should be displayed on the Item page and linking should work via the Item page as well.

Steps to reproduce

Here is how my screens look like when I am trying to add the link via the Item page:

Screenshot - 31_12_2022 , 07_24_23

Screenshot - 31_12_2022 , 07_22_57

However, adding the link via the Thing page does work. On the Thing page the Channel is displayed correctly:

Screenshot - 31_12_2022 , 07_28_25

And I can link it to the Item:

Screenshot - 31_12_2022 , 07_29_01

Which then has the link stored correctly:

Screenshot - 31_12_2022 , 07_29_30

So, the linking works in principle, just not via the Item page but only via the Thing page.

Your environment

runtimeInfo:
  version: 3.4.0
  buildString: Release Build
locale: en-AT
systemInfo:
  configFolder: /openhab/conf
  userdataFolder: /openhab/userdata
  logFolder: /openhab/userdata/logs
  javaVersion: 11.0.17
  javaVendor: Eclipse Adoptium
  javaVendorVersion: Temurin-11.0.17+8
  osName: Linux
  osVersion: 4.4.180+
  osArchitecture: amd64
  availableProcessors: 2
  freeMemory: 23543568
  totalMemory: 159383552
  startLevel: 100
bindings:
  - openwebnet
  - shelly
  - sonos
clientInfo:
  device:
    ios: false
    android: false
    androidChrome: false
    desktop: true
    iphone: false
    ipod: false
    ipad: false
    edge: false
    ie: false
    firefox: true
    macos: false
    windows: true
    cordova: false
    phonegap: false
    electron: false
    nwjs: false
    webView: false
    webview: false
    standalone: false
    os: windows
    pixelRatio: 1
    prefersColorScheme: light
  isSecureContext: true
  locationbarVisible: true
  menubarVisible: true
  navigator:
    cookieEnabled: true
    deviceMemory: N/A
    hardwareConcurrency: 8
    language: en-US
    languages:
      - en-US
      - en
    onLine: true
    platform: Win32
  screen:
    width: 2560
    height: 1440
    colorDepth: 24
  support:
    touch: false
    pointerEvents: true
    observer: true
    passiveListener: true
    gestures: false
    intersectionObserver: true
  themeOptions:
    dark: light
    filled: true
    pageTransitionAnimation: default
    bars: filled
    homeNavbar: default
    homeBackground: default
    expandableCardAnimation: default
  userAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:108.0) Gecko/20100101
    Firefox/108.0
timestamp: 2022-12-31T06:32:24.808Z
@TheNinth7 TheNinth7 added bug Something isn't working main ui Main UI labels Dec 31, 2022
@florian-h05
Copy link
Contributor

I cannot verify this behaviour, I‘ve testet on the 4.0.0 SNAPSHOT #3255 with both the Astro Binding as well as the openwebnet binding with a openwebnet:bus_on_off_switch Thing to reproduce your setup:

IMG_1938

Have you tried cleaning the cache or reloading MainUI? This can be done in Help & About.

@TheNinth7
Copy link
Author

I cannot verify this behaviour, I‘ve testet on the 4.0.0 SNAPSHOT #3255 with both the Astro Binding as well as the openwebnet binding with a openwebnet:bus_on_off_switch Thing to reproduce your setup:

At the moment I also cannot reproduce the issue anymore. It has been reproducible before, but now it works as expected. I did clean out the browser cache sometime in between, so maybe that resolved it. So the issue can be closed.

@florian-h05
Copy link
Contributor

florian-h05 commented Apr 11, 2023

We were able to finally reproduce this, it happens when a Thing has no label.

EDIT: I have misread the issue, the one we reproduce is not this one. This seems fixed as already noted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working main ui Main UI
Projects
None yet
Development

No branches or pull requests

2 participants