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

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   The reported issue has been verified against the current codebase.
   
   **Root Cause:** The CSV export logic only adds apostrophe protection when a 
value starts with a formula trigger character. A value already starting with an 
apostrophe followed by a formula trigger (e.g., `'=SUM(A1)`) does not trigger 
this guard and is exported unchanged. However, the import logic strips any 
leading apostrophe followed by a formula trigger character, causing data 
corruption during round-trip.
   
   **Impact:** CSV export/import round-trip silently corrupts user data when 
values legitimately start with apostrophe + formula trigger characters.
   
   **Severity:** Medium - data integrity issue affecting CSV workflow users.
   
   **Example:**
   | Step | Value |
   |------|-------|
   | Original | `'=SUM(A1)` |
   | After export→import | `=SUM(A1)` (apostrophe lost) |
   
   **Fix Direction:** Export should detect values starting with `'` + formula 
trigger and escape them (e.g., double the apostrophe), and import should 
correspondingly un-escape.
   
   An automated fix proposal may be generated. Reply `/approve` to proceed with 
PR generation.
   
   ---
   *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