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

[bug]: Creating new states not possible although expert mode enabled

Open mcm1957 opened this issue 1 year ago • 2 comments

No existing issues.

  • [X] There is no existing issue for my problem.

Describe the bug

I would like to create an state at adapter area(!) using admin UI object view. Although expert mode is enabled only "folder" is available but no "state" or "device"/"channel".

This is at least inconsistent: According to description every object type should be selectable for creation when expertmode is activated. If this is not correct then the description must be fixed. But I do not see any reason to allow "folder" but block "state".

To Reproduce

  1. select adapter level zero (I tested with mpd.0)
  2. try to create an additional state, i.e mpd.0.test using plus sign at header bar

Expected behavior

I would expect that I can create a state

Screenshots & Logfiles

image

Adapter version

7.4.8

js-controller version

0.7.3

Node version

v20.18.0

Operating system

Windows (10)

Additional context

No response

mcm1957 avatar Dec 22 '24 17:12 mcm1957

User should be able to create states only in javascript and 0_userdata

GermanBluefox avatar Jan 15 '25 15:01 GermanBluefox

Sorry, but the behaviour is inconsistet in my oppinion:

With expert Mode ON I can create:

at ical.0

  • a state, device or channel but NOT a folder

at ical.0.data

  • only a folder (Note: theres no edit - might be that ical.0.data is no real object)

at ical.0.events

  • only a state, but not a folder. Its OK that device and channel are not available here)

According to description (Toolzip) creatioon at ical.0 should not be possible (NO idea why creation at ical.0.xyz will be allowed but at ical.0 not)

It would be OK to block any creation - althogh this might cause some problems i.e. with mqtt Adapter. But I do not understand which rules apply to folders and why this type cannot be created at all places (except below a state of course).

mcm1957 avatar Jan 15 '25 15:01 mcm1957