yyqdbngt opened a new pull request, #3442:
URL: https://github.com/apache/rocketmq-dashboard/pull/3442

   ### Summary
   
   `EntityIds.parseId` converts external string ids to positive database 
primary keys with uniform 400 errors. The suite covered trimmed parsing and 
zero/negative rejection only.
   
   ### Changes
   
   - `null` and blank ids fail with `400 id is required`
   - Non-numeric values (pure or trailing garbage) fail with `id must be a 
numeric value`
   - Positive ids parse across the full `long` range, while an overflowing 
value is rejected instead of wrapping
   
   ### Testing
   
   `mvn test -Dtest=EntityIdsTest` passes: 5 tests, 0 failures (up from 2).


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