tchiotludo / akhq

Kafka GUI for Apache Kafka to manage topics, topics data, consumers group, schema registry, connect and more...
https://akhq.io/
Apache License 2.0
3.42k stars 661 forks source link

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

Open rzala opened 1 month ago

rzala commented 1 month ago

Description: After upgrading from version 0.24.0 to 0.25.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.25.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:

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;
});

Expected behavior:

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

Environment:

image image

tooptoop4 commented 1 month ago

try latest version

rzala commented 1 month ago

try latest version

I apologize for the confusion. I mistakenly quoted the wrong version. I'm currently using the latest version, 0.25.1. I've updated the issue to reflect the correct versions. Thank you!