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

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

Open
1 task done
mcm1957 opened this issue Dec 22, 2024 · 2 comments
Open
1 task done

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

mcm1957 opened this issue Dec 22, 2024 · 2 comments
Labels

Comments

@mcm1957
Copy link
Contributor

mcm1957 commented Dec 22, 2024

No existing issues.

  • 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 mcm1957 added the bug label Dec 22, 2024
@mcm1957 mcm1957 changed the title [bug]: CReating new states not possible although expert mode eneabled [bug]: Creating new states not possible although expert mode enabled Dec 22, 2024
@GermanBluefox
Copy link
Contributor

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

@mcm1957
Copy link
Contributor Author

mcm1957 commented Jan 15, 2025

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants