kafka-ui icon indicating copy to clipboard operation
kafka-ui copied to clipboard

No warning about filling the invalid data in case of editing the Schema / Producing the Message

Open armenuikafka opened this issue 2 years ago • 1 comments

Describe the bug It's possible to submit data filled not in {} in case of Schemas editing

Set up https://www.kafka-ui.provectus.io/

Steps to Reproduce

Steps to reproduce the behavior:

  1. Navigate to Schema Registry
  2. Select the Schema
  3. Edit the Schema
  4. Add the data after {}
  5. Press "Submit"

Expected behavior Warning should appear to say that invalid data was filled or should not be possible to submit if data added not in {} scope

Screenshots invalid data within json

armenuikafka avatar Jul 27 '22 16:07 armenuikafka

Considering #2354 it seems like we have validation bound to producing messages. There should be one for creating/updating schemas as well.

Haarolean avatar Jul 28 '22 10:07 Haarolean