NEWS
Datenpunkt löschen - Fehler bei Erstellung
-
Hallo,
habe leider blind getippt und diesen DAtenpunkt erzeugt:
{ "common": { "name": "{ Batterie", "desc": "Manuell erzeugt", "role": "state", "type": "string", "read": true, "write": true, "def": "" }, "type": "state", "native": {}, "_id": "0_userdata.0.Apple.{__Batterie_:__98___}", "acl": { "object": 1636, "state": 1636, "owner": "system.user.admin", "ownerGroup": "system.group.administrator" }, "from": "system.adapter.admin.0", "user": "system.user.admin", "ts": 1709488369968 }
Das Problem ist anscheinend {Batterie:98} - irgendeine Idee, wie ich das Löschen kann`?
Ergänzung: Der Löschversuch über die Gui erzeugt eine Errorseite - Gui stürzt ab.
Danke. -
Wenn Du ihn ganz löschen möchtest:
In Objekte in die Datenpunkt Zeile gehen und ganz rechts ist ein Mülleimersymbol
-
@haselchen das gibt einen fetten Gui-Error - ich nehme an, wegen der Klammern. Daher hilft das nicht
-
-
@homoran Bitte schön...
ObjectBrowser.jsx:3057 > objectChange system.adapter.admin.0.guiSettings ObjectBrowser.jsx:2425 - unsubscribe 0_userdata.0.example_state ObjectBrowser.jsx:2425 - unsubscribe 0_userdata.0.Apple.Batterie ObjectBrowser.jsx:2425 - unsubscribe 0_userdata.0.Apple.{__Batterie_:__98___} console.ts:40 Error: Minified React error #130; visit https://reactjs.org/docs/error-decoder.html?invariant=130&args[]=undefined&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings. at Rs (react-dom.production.min.js:303:64) at e (react-dom.production.min.js:161:400) at wo (react-dom.production.min.js:192:308) at Ei (react-dom.production.min.js:294:9) at ks (react-dom.production.min.js:280:389) at ys (react-dom.production.min.js:280:320) at vs (react-dom.production.min.js:280:180) at us (react-dom.production.min.js:271:88) at ss (react-dom.production.min.js:273:300) at Hl (react-dom.production.min.js:127:105) at react-dom.production.min.js:267:273 (anonym) @ console.ts:40 fo @ react-dom.production.min.js:189 a.componentDidCatch.t.callback @ react-dom.production.min.js:190 Ua @ react-dom.production.min.js:144 wi @ react-dom.production.min.js:261 ki @ react-dom.production.min.js:260 bi @ react-dom.production.min.js:259 (anonym) @ react-dom.production.min.js:283 Ss @ react-dom.production.min.js:281 ss @ react-dom.production.min.js:273 Hl @ react-dom.production.min.js:127 (anonym) @ react-dom.production.min.js:267 12 weitere Frames anzeigen Weniger anzeigen
-
@tomtom24
Schon mal per Code versucht?deleteObject('0_userdata.0.Apple.{__Batterie_:__98___}');
-
@codierknecht sagte in Datenpunkt löschen - Fehler bei Erstellung:
deleteObject('0_userdata.0.Apple.{Batterie:98}');
perfekt, danke hat funktioniert.
-
@tomtom24 sagte in Datenpunkt löschen - Fehler bei Erstellung:
...das gibt einen fetten Gui-Error - ich nehme an, wegen der Klammern. Daher hilft das nicht
Nein, das ist ein Fehler des Admins, wenn du die aktuelle Beta nutzt: