You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Aias00 (via GitHub)" <gi...@apache.org> on 2026/08/03 12:23:44 UTC

[I] [Bug] DLQ resend API should reject null request bodies [rocketmq-dashboard]

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

   ### What happened
   
   `POST /api/dlq/resend` accepts a JSON literal `null` request body. `DLQController#resendMessages` then dereferences the request object before calling `DLQService`, so a null body can fail with an internal `NullPointerException` instead of a structured 400 response.
   
   ### Expected behavior
   
   The DLQ resend endpoint should reject missing or JSON `null` request bodies with a clear 400 response and should not call the service when the request object is absent.
   
   ### Why this matters
   
   DLQ resend is part of the RocketMQ Studio baseline operations surface. Invalid write requests should fail predictably and avoid surfacing internal implementation errors.
   
   ### Scope
   
   RocketMQ Studio / track 1 control-plane DLQ operations.
   


-- 
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] DLQ resend API should reject null request bodies [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed issue #854: [Bug] DLQ resend API should reject null request bodies
URL: https://github.com/apache/rocketmq-dashboard/issues/854


-- 
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] DLQ resend API should reject null request bodies [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins commented on issue #854:
URL: https://github.com/apache/rocketmq-dashboard/issues/854#issuecomment-5177572523

   Resolved by #939 (merged into rocketmq-studio as 99f14ad).


-- 
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