messere1 opened a new issue, #1925: URL: https://github.com/apache/rocketmq-dashboard/issues/1925
## Bug description Mock-mode `createInstance()` uses `String(Date.now())` as the instance ID. Two create calls completed within the same millisecond receive the same ID. Duplicate IDs break React row identity and make subsequent update/delete operations ambiguous because the mock service searches by the first matching ID. ## Expected behavior Every mock instance creation should produce a unique ID even when the clock value has not advanced. ## Suggested fix Add a module-local monotonic suffix (or another collision-resistant mock identifier) and cover same-timestamp creations with a regression test. ## Affected branch `rocketmq-studio` -- 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]
