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

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   The issue has been verified against the codebase.
   
   **Root Cause:** `TopicStore.importFromCsv` appends the imported rows to the 
local `topicList` array and increments `total` by the batch size, but never 
triggers a server re-fetch. The displayed rows are a mix of stale server data 
and unsynced local additions, while the pagination total is inflated by the 
import count.
   
   **Impact:** After a CSV import, the topic list page shows inconsistent data: 
wrong row count, stale content, and incorrect pagination totals until the user 
manually refreshes.
   
   **Severity:** Low-Medium — UI inconsistency after import; no data loss.
   
   **Assessment:** The fix should trigger a server page reload after a 
successful import, replacing the local-state patching approach with a proper 
re-fetch to keep the displayed rows, header count, and pagination total 
consistent with the server.
   
   A fix PR is welcome.
   
   ---
   *Automated evaluation by RockteMQ-AI*


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