You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "yuluo-yx (via GitHub)" <gi...@apache.org> on 2026/08/11 13:29:32 UTC

[I] [Bug] Message query accepts page sizes below the declared minimum [rocketmq-dashboard]

yuluo-yx opened a new issue, #1762:
URL: https://github.com/apache/rocketmq-dashboard/issues/1762

   **BUG REPORT**
   
   1. Please describe the issue you observed:
   
   - What did you do (the steps to reproduce)?
   
   Create `MessageQueryByPage` with a page size between 2 and 9 and call `getPageSize()`.
   
   - What did you expect to see?
   
   The class declares `MIN_PAGE_SIZE = 10`, so every smaller value should be normalized to 10.
   
   - What did you see instead?
   
   Only values less than or equal to 1 are normalized. Values 2 through 9 are returned unchanged and bypass the declared lower bound.
   
   2. Please tell us about your environment:
   
   - apache/rocketmq-dashboard master
   - baseline commit `770822bbc812bfd0c2a94aa0128ab6f59b50d076`
   - JDK 17
   
   3. Other information:
   
   The boundary condition should compare the requested size directly with `MIN_PAGE_SIZE`. Regression coverage should include 0, 1, 2, 9, 10, 100, and 101.


-- 
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] Message query accepts page sizes below the declared minimum [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #1762: [Bug] Message query accepts page sizes below the declared minimum
URL: https://github.com/apache/rocketmq-dashboard/issues/1762


-- 
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] Message query accepts page sizes below the declared minimum [rocketmq-dashboard]

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

   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