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/08/13 08:39:31 UTC

[I] AI request DTOs accept empty payloads [rocketmq-dashboard]

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

   ## Problem
   
   server/src/main/java/org/apache/rocketmq/studio/ops/ai/AiCommandDTO.java and ChatDTO.java have no constraints, and the controller does not use @Valid, so an empty {} payload reaches the provider layer.
   
   ## Expected
   
   Add @NotBlank and @Valid.


-- 
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] AI request DTOs accept empty payloads [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #2077:
URL: https://github.com/apache/rocketmq-dashboard/issues/2077#issuecomment-5383291085

   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] AI request DTOs accept empty payloads [rocketmq-dashboard]

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

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   AI request DTOs accepting empty payloads is a validation gap. Empty payloads should be rejected at the API boundary to prevent downstream errors or unexpected behavior.
   
   **Impact:** Potential for invalid requests to reach backend services.
   **Severity:** Medium — input validation issue.
   
   ---
   *Automated evaluation by RockteMQ-AI*


-- 
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] AI request DTOs accept empty payloads [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #2077: AI request DTOs accept empty payloads
URL: https://github.com/apache/rocketmq-dashboard/issues/2077


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