Skip to content
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

Produce button disabled after copying message on AKHQ version 0.15.1 #1971

Open
rzala opened this issue Oct 8, 2024 · 0 comments
Open

Produce button disabled after copying message on AKHQ version 0.15.1 #1971

rzala opened this issue Oct 8, 2024 · 0 comments

Comments

@rzala
Copy link

rzala commented Oct 8, 2024

Description:
After upgrading from version 0.14.0 to 0.15.1, I've encountered an issue where the Produce button becomes disabled when trying to copy a message for production in KafkaHQ.

Steps to reproduce:

  1. Upgrade AKHQ to version 0.15.1.
  2. Copy a message in KafkaHQ to produce it.
  3. Notice that the Produce button is disabled when the Value schema is populated.

Observations:

  • No logs are displayed on the console indicating why the button is disabled.
  • After adding some logging to the code for debugging, I observed the following error message: valueSchema is not allowed.
x(this, "validate", () => {
    const { error: t } = H.validate(this.state.formData, this.schema);
    if (!t)
        return null;
    console.log("log: " + t); // added the logging here
    const s = {};
    for (let a of t.details)
        s[a.path[0]] = a.message;
    return s;
});
  • When hovering over the Value schema field, it appears to be stuck in a loading state with a constant loading pointer.
  • The issue only occurs when using the Copy button on a message. However, if I directly click the Produce to topic button on a topic, everything works fine.

Expected behavior:

The Produce button should be enabled after copying a message, similar to when directly producing to a topic.

Environment:

  • AKHQ Version: 0.15.1
  • Previous Version: 0.14.0

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant