RockteMQ-AI commented on issue #1642: URL: https://github.com/apache/rocketmq-dashboard/issues/1642#issuecomment-5250085133
**Issue Evaluation** Category: `type/bug` | Status: **Confirmed** The resource plan preview only checks `value < 0` for numeric fields, but does not reject non-integer values like `1.5`, non-numeric strings like `many`, or `null`. Since JSON parsing bypasses TypeScript compile-time types, these invalid values can pass validation and be reported as applicable actions. **Severity:** Medium — data validation gap that can lead to incorrect resource planning. **Suggested Fix:** Add `Number.isInteger(value)` checks for queue count and retry count fields before the negative check. --- *Automated evaluation by github-manager* -- 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]
