ioBroker.devices
ioBroker.devices copied to clipboard
[BUG] "Edit State" of imported state does not work
Describe the bug
Edit an imported state does not work.
To Reproduce
Steps to reproduce the behavior:
- Click on 'Import state'
- Choose an ID from the list
- Click "Edit State" of this new state
Expected behavior
A popup appears where i can edit my state.
Screenshots & Logfiles
Versions:
- Adapter version: v1.1.0
- JS-Controller version: 4.0.23
- Node version: v16.17.0
- Operating system: ubuntu 20.04
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)
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?
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.