You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "messere1 (via GitHub)" <gi...@apache.org> on 2026/08/11 04:14:23 UTC
[I] [studio][Bug] Alert rule modal allows duplicate save requests [rocketmq-dashboard]
messere1 opened a new issue, #1575:
URL: https://github.com/apache/rocketmq-dashboard/issues/1575
### Before Creating the Bug Report
- [x] I found a reproducible UI concurrency bug.
- [x] I searched existing issues and pull requests for duplicate alert-rule create/update submissions and double clicks.
- [x] I confirmed the bug exists on the current rocketmq-studio branch.
### Describe the Bug
AlertsPage sets its submitting state only after form.validateFields resolves.
A rapid double click on the create/edit confirmation can therefore enter handleSubmit twice, run two validations, and start duplicate createAlertRule or updateAlertRule requests before the modal button becomes loading. The modal also remains closable while the save request is pending, so the operation can complete after the UI appears cancelled.
### Expected Behavior
- Lock alert-rule submission synchronously before validation starts.
- Start at most one create/update request while a submission is pending.
- Show the existing confirmation loading state from the beginning of submission.
- Prevent cancel, close, keyboard, and mask-close actions until the request settles.
- Release the guard after validation failure, API success, or API failure.
- Add a regression test proving a double confirmation starts one update request.
### Affected Area
RocketMQ Studio Track 1, Alert Rules page.
### Proposed Scope
Limit the change to AlertsPage and its existing focused frontend test. No API or backend changes are required.
--
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] [studio][Bug] Alert rule modal allows duplicate save requests [rocketmq-dashboard]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1575:
URL: https://github.com/apache/rocketmq-dashboard/issues/1575#issuecomment-5389248458
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] [studio][Bug] Alert rule modal allows duplicate save requests [rocketmq-dashboard]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #1575: [studio][Bug] Alert rule modal allows duplicate save requests
URL: https://github.com/apache/rocketmq-dashboard/issues/1575
--
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