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

   ### Description
   
   In mock mode, `queryMessages()` ignores the `startTime` and `endTime` fields 
from `MessageQuery`.
   
   Location:
   - `web/src/services/messageService.ts:20`
   
   The Message page passes a time range for topic-based queries, and the API 
contract exposes `startTime` / `endTime`, but the mock service only filters by 
topic/tag/key/msgId before returning all matching messages.
   
   ### Impact
   
   Mock topic queries can show messages outside the selected time window. This 
makes the Studio message-query workflow diverge from the real API and can hide 
regressions in the time-range query path.
   
   ### Suggested fix
   
   Filter mock messages by parsed `storeTime` when `startTime` or `endTime` is 
present, preserving the existing descending store-time sort. Add regression 
coverage for inclusive time-window filtering.
   


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