Aias00 opened a new pull request, #2671: URL: https://github.com/apache/rocketmq-dashboard/pull/2671
## Summary - Treat Client Connections `clientId` and `address` as nullable at the frontend API boundary. - Keep search, table rendering, detail dialog, and row keys resilient when RocketMQ returns incomplete client metadata. - Add a regression test covering a connection with missing `clientId` that is still searchable by address. Closes #2663 ## Verification - RED: `npm test -- src/pages/cluster/__tests__/ClientsPage.test.tsx` failed before the fix with `TypeError: Cannot read properties of null (reading 'toLowerCase')` at `clients.tsx:273`.\n- GREEN: `npm test -- src/pages/cluster/__tests__/ClientsPage.test.tsx` -> 16 passed.\n- `npm test -- src/api/connections.test.ts src/services/connectionsService.test.ts` -> 6 passed.\n- `npm run build` -> passed (`tsc -b && vite build`).\n- TypeScript diagnostics on modified files -> 0 errors. -- 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]
