RockteMQ-AI commented on issue #4168:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/4168#issuecomment-5587270677

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   Verified against `web/src/pages/studio/Producer.tsx`:
   
   - `handleInstanceChange` (lines 120-131) correctly clears `connectionList` 
and `connectionSummary`.
   - `handleTopicChange` (lines 162-166) only resets `producerGroups` — 
connection results survive a topic change.
   - `handleExport` (line 286) stamps rows with `topic: connection.topic ?? 
selectedTopic`, so exporting after a topic switch mislabels stale connections.
   
   **Root Cause:** Missing state invalidation in `handleTopicChange` — should 
clear `connectionList` and `connectionSummary` the same way 
`handleInstanceChange` does.
   **Severity:** medium — misleading UI state, no data corruption.
   
   Noted that a fix PR is incoming from the reporter.
   
   ---
   *Automated evaluation by github-manager*


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