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]: [jsonconfig] can delete table item despite "readOnly: true" #2656

Closed
1 task done
git-kick opened this issue Sep 8, 2024 · 2 comments
Closed
1 task done

[bug]: [jsonconfig] can delete table item despite "readOnly: true" #2656

git-kick opened this issue Sep 8, 2024 · 2 comments

Comments

@git-kick
Copy link

git-kick commented Sep 8, 2024

No existing issues.

  • There is no existing issue for my problem.

Describe the bug

Having a table with a text item defined as readOnly, there is still an "X" in the GUI which deletes the item's content. Then, I can store the changes, i.e. I changed a readOnly item.

To Reproduce

  1. iobroker url https://github.com/mcm4iob/ioBroker.jsonconfig-demo
  2. iobroker add jsonconfig-demo
  3. open jsonconfig-demo admin
  4. go to tab "Tables"
  5. press "X" right from text "Example 1"
  6. save & close
  7. open again and see that text "Example 1" is gone; i.e. it was deleted from the "Initialized table with fixed data"

Expected behavior

  1. No "X" should be displayed at readOnly items.
  2. After modifying a readOnly item, storing chages should be inhibited.

Screenshots & Logfiles

grafik

Adapter version

7.0.23

js-controller version

6.0.11

Node version

v20.17.0

Operating system

Ubuntu 24.04 LTS

Additional context

No response

@Feuer-sturm
Copy link
Collaborator

@git-kick please check if the issue can be closed

@git-kick
Copy link
Author

fix confirmed (7.1.5)

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

No branches or pull requests

3 participants