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

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   The reported issue has been verified against the current codebase.
   
   **Root Cause:** Both `GrafanaDashboardService` and `AlertRuleAssetService` 
resolve resources via `classpath*:` patterns into an `ArrayList` without 
deduplication by logical basename. When multiple classpath locations contain 
the same filename, duplicates appear in listings, and the ZIP exporter in 
`GrafanaDashboardService.exportDashboardsAsZip` can throw `ZipException: 
duplicate entry` when adding the same entry name twice.
   
   **Impact:** Observability asset listing, lookup, and export become 
non-deterministic depending on classpath enumeration order. Duplicate ZIP 
entries cause export failures.
   
   **Severity:** medium
   
   An automated fix proposal will be generated. Reply `/approve` to proceed 
with PR generation.
   
   ---
   *Automated evaluation by github-manager-bot*


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