ioBroker.devices icon indicating copy to clipboard operation
ioBroker.devices copied to clipboard

[BUG] "Edit State" of imported state does not work

Open Z18Aplha opened this issue 2 years ago • 3 comments

Describe the bug
Edit an imported state does not work.

To Reproduce
Steps to reproduce the behavior:

  1. Click on 'Import state'
  2. Choose an ID from the list
  3. Click "Edit State" of this new state

Expected behavior
A popup appears where i can edit my state.

Screenshots & Logfiles
edit_state

Versions:

  • Adapter version: v1.1.0
  • JS-Controller version: 4.0.23
  • Node version: v16.17.0
  • Operating system: ubuntu 20.04

Z18Aplha avatar Oct 24 '22 19:10 Z18Aplha

Addition to this bug The adapter forgets imported states (also in v1.0.12). They are still present in the objects and also works in the scripts. However, the states are no longer shown in the alias popup. If I want to create a data point with the same name, the adapter recognizes that it already exists.

  • Adapter version: v1.1.0
  • JS-Controller version: 4.0.23
  • Node version: v16.17.1
  • Operating system: NAS Docker image v7.0.1 (05.07.2022)

StefanRos avatar Nov 11 '22 05:11 StefanRos

Addition to this bug

Adapter Version 1.1.2 Node.js: v16.15.1(16.18.1) NPM: 8.11.0(8.19.2)

Clicking on 'edit states' in the main window for already existing devices with one or more imported states: -> The adapter window turns empty. Clicking on 'edit states' in the main window for a device with only original states like 'ACTUAL' or 'SECOND': -> Opens the window 'edit device' as expected.

Is there an older version available without those bugs?

Erbse69 avatar Nov 25 '22 15:11 Erbse69

The dialog disapears when "import state" was chosen and a datapoint gets selected: https://user-images.githubusercontent.com/25169478/209582164-6e4ffddd-1fed-4856-bb31-9f923f1a8632.mp4

When a certain state gets imported, in my case "effect", the dialog disapears and it is not possible to edit the state anymore: https://user-images.githubusercontent.com/25169478/209582257-ee1e1701-6313-4896-bf62-832f04e9a0eb.mp4 The only thing you can do then is to delete the state and re-create it.

MichaelUray avatar Dec 26 '22 20:12 MichaelUray