You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "btlqql (via GitHub)" <gi...@apache.org> on 2026/10/15 09:55:48 UTC
[I] [Bug] Invalid consumer group settings leave an unhandled form rejection [rocketmq-dashboard]
btlqql opened a new issue, #6722:
URL: https://github.com/apache/rocketmq-dashboard/issues/6722
### Summary
The Consumer Group detail dialog's Settings tab calls `saveSettings()` from a fire-and-forget click handler. `saveSettings` awaits `settingsForm.validateFields()` before its `try/catch`. If a required retry field is cleared and Save is clicked, Ant Design displays the field error but the rejected promise is unhandled.
### Reproduction
On `rocketmq-studio` at `8bbe7947a4cb88e2d12c17fa7984ad22cf78eac5`, open a Consumer Group's detail dialog, select Settings, clear Retry Queue Count, and click Save. The field error appears and no API call is sent, but the browser receives an unhandled rejection. A focused Vitest component regression reproduces this: the assertion passes, while Vitest exits 1 with one `Unhandled Rejection` carrying `errorFields: retryQueueNums`.
### Expected behavior
Validation errors should remain in the form and end the save handler normally. Unexpected validation failures should still be reported. No settings mutation should run for an invalid form.
### Scope
Handle the validation rejection in the Consumer Group settings save handler and keep the existing request and stale-dialog guards. Add a component regression for the invalid form. This follows the same behavior already used by the topic and user-management save dialogs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Invalid consumer group settings leave an unhandled form rejection [rocketmq-dashboard]
Posted by "github-actions[bot] (via GitHub) via commits" <co...@rocketmq.apache.org>.
github-actions[bot] commented on issue #6722:
URL: https://github.com/apache/rocketmq-dashboard/issues/6722#issuecomment-6551022717
This issue has been automatically closed because there has been no activity for 7 days. If you believe this issue is still relevant, please reopen it with updated information.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] Invalid consumer group settings leave an unhandled form rejection [rocketmq-dashboard]
Posted by "github-actions[bot] (via GitHub) via commits" <co...@rocketmq.apache.org>.
github-actions[bot] closed issue #6722: [Bug] Invalid consumer group settings leave an unhandled form rejection
URL: https://github.com/apache/rocketmq-dashboard/issues/6722
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org