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

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   Verified the mismatch in the codebase:
   
   - `web/src/pages/instance/consumer.tsx:1511` uses `value: 'MESSAGES ORDER'` 
(with space)
   - `web/src/utils/resourceCsvImport.ts:55` accepts `'MESSAGES ORDER'` in the 
import Set
   - The API contract expects `MESSAGES_ORDER` (with underscore)
   
   Contract-compliant CSV files with `MESSAGES_ORDER` are rejected by the 
importer, and the UI form submits the non-contract value with a space.
   
   **Root Cause:** The frontend uses `MESSAGES ORDER` (space-separated) instead 
of the API contract value `MESSAGES_ORDER` (underscore-separated).
   **Impact:** Consumer group creation with ordering fails for 
contract-compliant inputs; UI submits invalid values.
   **Severity:** high
   
   The fix should canonicalize to `MESSAGES_ORDER` in both the form and CSV 
importer, while accepting the legacy spaced value at the import boundary.
   
   ---
   *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