Skip to content

FE: Messages: Produce fails for JSON schema with a reference #898

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

Closed
4 tasks done
wernerdv opened this issue Mar 8, 2025 · 3 comments · Fixed by #900
Closed
4 tasks done

FE: Messages: Produce fails for JSON schema with a reference #898

wernerdv opened this issue Mar 8, 2025 · 3 comments · Fixed by #900
Assignees
Labels
area/messages scope/frontend Related to frontend changes status/triage/completed Automatic triage completed type/bug Something isn't working

Comments

@wernerdv
Copy link
Contributor

wernerdv commented Mar 8, 2025

Issue submitter TODO list

  • I've looked up my issue in FAQ
  • I've searched for an already existing issues here
  • I've tried running main-labeled docker image and the issue still persists there
  • I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)

Original issue provectus/kafka-ui#2354

Expected behavior

No response

Your installation details

commit d91483b

Steps to reproduce

  1. Create a schema "test-key":
{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "https://example.com/A.json",
  "title": "A",
  "description": "A",
  "type": "object",
  "properties": {
    "a": {
      "type": "number"
    }
  },
  "required": [
    "a"
  ]
}
  1. Create topic "test"
  2. Produce a message into the topic
  3. Observe an error:

Image

Screenshots

No response

Logs

No response

Additional context

No response

@wernerdv wernerdv added status/triage Issues pending maintainers triage type/bug Something isn't working labels Mar 8, 2025
@kapybro kapybro bot added status/triage/manual Manual triage in progress status/triage/completed Automatic triage completed and removed status/triage Issues pending maintainers triage labels Mar 8, 2025
@Haarolean
Copy link
Member

perhaps the same issue as in #476

@wernerdv
Copy link
Contributor Author

wernerdv commented Mar 8, 2025

The error message is different, but the issue is clearly related to the validator on the frontend side.
I created this task to migrate the changes from PR provectus/kafka-ui#4390.
We can close this task and fix validator issues as part of task #476.

@Haarolean
Copy link
Member

@wernerdv yeah we can deal with issues later, but feel free to migrate the PR itself, thanks!

@Haarolean Haarolean added scope/frontend Related to frontend changes area/sr Schema Registry area/messages area/serde Serialization & Deserialization (plugins) labels Mar 8, 2025
@Haarolean Haarolean changed the title Produce message validation fails for valid JSON schema with a reference FE: Messages: Produce fails for JSON schema with a reference Mar 10, 2025
@Haarolean Haarolean removed area/sr Schema Registry area/serde Serialization & Deserialization (plugins) status/triage/manual Manual triage in progress labels Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/messages scope/frontend Related to frontend changes status/triage/completed Automatic triage completed type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants