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

Jsonconfig error in admin

Open kthemall opened this issue 1 year ago • 4 comments

sql has an invalid jsonConfig: [{"instancePath":"/items/dbTab/items/_testConnection/type","schemaPath":"#/definitions/componentType/enum","keyword":"enum","params":{"allowedValues":["accordion","alive","autocomplete","autocompleteSendTo","certificate","certificates","checkLicense","checkbox","chips","color","coordinates","cron","custom","datePicker","deviceManager","divider","file","fileSelector","func","header","icon","image","instance","interface","ip","jsonEditor","language","number","objectId","panel","password","pattern","port","qrCode","room","select","selectSendTo","sendTo","setState","slider","staticImage","staticLink","staticText","table","text","textSendTo","timePicker","user","uuid"]},"message":"must be equal to one of the allowed values"},{"instancePath":"/items/dbTab","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/8/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match "then" schema"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match "then" schema"}]

To Reproduce
Steps to reproduce the behavior: just start the sql adapter

Expected behavior
no warnings

Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.

Versions:

  • Adapter version: 3.0.1
  • JS-Controller version: 6.0.9
  • Node version: v20.16.0
  • Operating system: raspbian

Additional context
since update of the admin console to v7.0.22

kthemall avatar Aug 08 '24 07:08 kthemall

Bitte mal bei Gelegenheit fixen, ich bin immer verunsichert, wenn so ne Meldung im Log auftaucht ;-)

Erwin40 avatar Jan 03 '25 14:01 Erwin40

I got the same problem. My Solution: change something in the properties of the instance. Save. Restart the instance. Now the Problem is gone. Maybe it helps.

DieWaldfee avatar May 23 '25 06:05 DieWaldfee

I got the same problem. My Solution: change something in the properties of the instance. Save. Restart the instance. Now the Problem is gone. Maybe it helps.

Changing anything at settings will most likely NOT fix such a problem as neither the cecking schema nor an eventually faulty jsonConfig.json will be changed / fixed by such an action.

mcm1957 avatar May 25 '25 10:05 mcm1957

Problem still exists sql 3.0.1 admin 7.6.17

Already fixed Jun 2024 https://github.com/ioBroker/ioBroker.sql/commit/338c532134d0f32147df06528b2e11de8c81f9a9

@Apollon77 Maybe a new release could be scheduled?

mcm1957 avatar May 25 '25 10:05 mcm1957