Loyal-Young opened a new issue, #6704:
URL: https://github.com/apache/rocketmq-dashboard/issues/6704

   ### Before Creating the Bug Report
   
   - [x] I searched for an existing report or pull request about CSV remark 
whitespace.
   - [x] Reproducible on `rocketmq-studio` at `8bbe7947`.
   
   ### Describe the Bug
   
   The Topic CSV importer strips leading and trailing whitespace from every 
parsed cell in `parseCsvTable`, then trims `Remark` again in 
`validateTopicCsvImport`. A quoted remark such as `"  on-call notes  "` is 
therefore imported as `"on-call notes"`. This changes user-authored text during 
the export/import round trip even though the Topic form and server DTO accept 
the remark unchanged.
   
   ### Steps to Reproduce
   
   1. Import a Topic CSV with `Name,Remark` and a row `orders,"  on-call notes  
"`.
   2. Inspect the import preview or created Topic remark.
   
   ### Expected Behavior
   
   Preserve the quoted remark exactly. Continue normalizing control fields such 
as names, types and queue counts before validation.
   
   ### Are You Willing to Submit a Pull Request?
   
   - [x] Yes.
   


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