Aias00 opened a new issue, #865:
URL: https://github.com/apache/rocketmq-dashboard/issues/865

   ### What happened?
   
   On the RocketMQ Studio Topic page, `handleSend` wraps both form validation 
and `sendTopicMessage(...)` in the same `try/catch`. The catch block treats 
every exception as a validation error and does not show any error message.
   
   As a result, when the backend send-message API fails, the dialog stays open 
but the user receives no failure feedback.
   
   ### Expected behavior
   
   Form validation failures should stay silent or show validation errors 
through the form, but API failures from sending a test message should show an 
explicit error message.
   
   ### Scope
   
   RocketMQ Studio / Topic management / BASE-01 test-message workflow.
   
   ### Suggested fix
   
   Separate form validation from the send API call, and show a user-facing 
error when `sendTopicMessage(...)` rejects.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to