yuluo-yx opened a new issue, #2699: URL: https://github.com/apache/rocketmq-dashboard/issues/2699
## Problem Message lookup by message ID does not use `startTime` or `endTime`, but the Apache provider validates those timestamps before entering the message-ID branch. As a result, an otherwise valid message-ID lookup can fail because a client supplied equal or reversed unused time bounds. ## Reproduction Query a known Topic and message ID while passing `startTime = 200` and `endTime = 100` (or equal values). The provider returns HTTP 400 before calling `viewMessage`, even though the lookup path is independent of time. ## Expected behavior Message-ID lookup should ignore unrelated time bounds. Key and Topic searches must retain their existing time-window validation. ## Scope Move time calculation and validation to non-message-ID query paths and add regression coverage for equal and reversed unused bounds. -- 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]
