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 13:20:39 UTC
[I] [Bug] Cluster config update should reject null request bodies [rocketmq-dashboard]
Aias00 opened a new issue, #860:
URL: https://github.com/apache/rocketmq-dashboard/issues/860
### What happened?
`POST /api/clusters/config/update` accepts the JSON literal `null` as the request body. Spring can deserialize that into a null DTO and the controller currently forwards it to `ClusterService.updateClusterConfig`, which can surface an internal null-handling error instead of a clear client error.
### Why this matters
Cluster configuration is part of the RocketMQ Studio control-plane workflow. Invalid write requests should be rejected at the API boundary with a stable 400 response so callers do not accidentally trigger service-layer null dereferences.
### Expected behavior
The endpoint should reject a null request body with HTTP 400 and should not call the service layer.
### Scope
RocketMQ Studio track 1 / ARCH-01 cluster configuration management hardening.
--
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] Cluster config update should reject null request bodies [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed issue #860: [Bug] Cluster config update should reject null request bodies
URL: https://github.com/apache/rocketmq-dashboard/issues/860
--
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] Cluster config update should reject null request bodies [rocketmq-dashboard]
Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins commented on issue #860:
URL: https://github.com/apache/rocketmq-dashboard/issues/860#issuecomment-5177575400
Resolved by #945 (merged into rocketmq-studio as c16dbca).
--
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