hivemq / hivemq-edge

HiveMQ Edge is an MQTT gateway that enables interoperability between OT devices and IT systems. It translates diverse protocols into MQTT for streamlined communication and helps organize data into a unified namespace, making managing and streaming data across your infrastructure easier.
http://hivemq.com
Apache License 2.0
91 stars 20 forks source link

fix(20433): Remove Schema Ref message from the list #360

Closed vanch3d closed 2 months ago

vanch3d commented 3 months ago

See https://hivemq.kanbanize.com/ctrl_board/57/cards/20433/details/

AJV8, used to validate the JSONSchema form, generates a "no schema with key or ref" error which is displayed at the first load of an adapter. It has not been possible to fix the error.

The PR filters the message out of the list to be displayed on the summary.

Note that the generated error message has no other identifier in the payload, except the "stack" attribute.

sfrehse commented 2 months ago

The error object I got:

[
    {
        "stack": "no schema with key or ref \"https://json-schema.org/draft/2020-12/schema\""
    }
]