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]: Baustein aktivieren / deaktivieren #1553

Open
3 tasks done
ABU1201 opened this issue Apr 20, 2024 · 6 comments
Open
3 tasks done

[Bug]: Baustein aktivieren / deaktivieren #1553

ABU1201 opened this issue Apr 20, 2024 · 6 comments

Comments

@ABU1201
Copy link

ABU1201 commented Apr 20, 2024

I'm sure that

  • This issue is still present in the current beta version of this adapter
  • There is no other (open) issue with the same topic (use the search!)
  • This issue is not described in the adapter documentation / FAQ (read the docs!)

Script type

Blockly

The problem

Problem tritt nach dem letzten Javascript Update (V7.8.0) auf.
Einfach einen einfachen Baustein ohne irdendwelche Werte in Blockly zur Demonstration generieren.
Bild1.
Jetzt einen Baustein deaktivieren
Bild2
Dann das Blockly Script speichern und den Editor schliessen.
Dann erneut das Script in den Editor laden und versuchen den vorher deaktivierten Baustein zu aktivieren.
Bild3
Der Baustein bleibt jetzt trotz aktivieren grau und im Menü kann ich ihn jetzt auch wieder deaktivieren obwohl er bereits deaktiviert ist.
Bild4
Wenn ich jetzt den grauen Block erneut deaktiviere und anschliessend aktiviere ist alles wieder in Ordnung.
Leider muss der Vorgang jetzt immer 2 mal ausgeführt werden, damit es wieder sauber ist.

iobroker.current.log (in debug mode!)

No response

Version of nodejs

18.17.1

Version of ioBroker js-controller

5.0.19

Version of adapter

7.8.0

@Diginix
Copy link

Diginix commented Apr 20, 2024

Kann ich bestätigen.

@klein0r
Copy link
Collaborator

klein0r commented Apr 22, 2024

Bitte mit der aktuellen beta 8.0.3 testen - da sind wir schon deutlich weiter als in 7.8.0

@Diginix
Copy link

Diginix commented Apr 22, 2024

Hatte nur die Ver. vergessen, aber ich bin auf 8.0.3 und habe das Problem dort weiterhin.

@MichaelSchaaf999
Copy link

Bestätigt, halte ich für einen Bug.

@zaphod2
Copy link

zaphod2 commented May 7, 2024

Auch mit 8.2.0 vorhanden.

@klein0r
Copy link
Collaborator

klein0r commented May 8, 2024

Der Baustein bleibt jetzt trotz aktivieren grau und im Menü kann ich ihn jetzt auch wieder deaktivieren obwohl er bereits deaktiviert ist.

  • Das Script ändert sich (man kann erneut speichern)
  • Im Blockly-Export ist der Block aktiv
  • Beim Umschalten zu JavaScript und zurück ist der Block aktiv

Es scheint also alles zu klappen - außer, dass der Block die Darstellung ändert. Seltsam.
Danke, muss ich mir in Ruhe anschauen.

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

5 participants