You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "123123213weqw (via GitHub)" <gi...@apache.org> on 2026/08/10 07:40:51 UTC

[I] [Studio][Bug] Parse cloud credential vendors independently of JVM locale [rocketmq-dashboard]

123123213weqw opened a new issue, #1467:
URL: https://github.com/apache/rocketmq-dashboard/issues/1467

   ## Bug
   
   `CreateCloudCredentialDTO.parseVendor` uppercases the vendor using the JVM default locale. On a Turkish-locale host, the valid input `aliyun` becomes `ALİYUN` (dotted capital I), so `InstanceVendor.valueOf` fails and the valid vendor is parsed as null.
   
   Vendor names are protocol identifiers and must not depend on the host locale.
   
   ## Expected behavior
   
   Case-insensitive `aliyun` input should resolve to `InstanceVendor.ALIYUN` on every JVM locale.
   
   ## Proposed fix
   
   - normalize the vendor with `Locale.ROOT`
   - add a focused DTO regression test under a Turkish default locale
   


-- 
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: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Bug] Parse cloud credential vendors independently of JVM locale [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #1467: [Studio][Bug] Parse cloud credential vendors independently of JVM locale
URL: https://github.com/apache/rocketmq-dashboard/issues/1467


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Bug] Parse cloud credential vendors independently of JVM locale [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1467:
URL: https://github.com/apache/rocketmq-dashboard/issues/1467#issuecomment-5321758569

   This issue has been automatically closed because there has been no activity for 7 days. If you believe this issue is still relevant, please reopen it with updated information.


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Bug] Parse cloud credential vendors independently of JVM locale [rocketmq-dashboard]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #1467:
URL: https://github.com/apache/rocketmq-dashboard/issues/1467#issuecomment-5237524999

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   The `CreateCloudCredentialDTO.parseVendor` Turkish-locale issue is confirmed. `String.toUpperCase()` without `Locale.ROOT` converts `"aliyun"` to `"ALİYUN"` (dotted İ) on a Turkish JVM, which fails vendor matching.
   
   **Root Cause:** `String.toUpperCase()` uses platform default locale instead of `Locale.ROOT`.
   **Impact:** Cloud credential onboarding broken on Turkish-locale JVMs.
   **Severity:** Medium — environment-dependent.
   
   A fix PR is available: #1468 (`agent/locale-stable-credential-vendor`).
   
   ---
   *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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Bug] Parse cloud credential vendors independently of JVM locale [rocketmq-dashboard]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #1467:
URL: https://github.com/apache/rocketmq-dashboard/issues/1467#issuecomment-5240697823

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   Valid bug. Same class of issue as #1469 — cloud credential vendor parsing uses locale-sensitive case conversion, causing failures on Turkish-locale JVMs.
   
   **Root Cause:** Locale-sensitive `toLowerCase()` / `toUpperCase()` in credential vendor parsing.
   **Impact:** Cloud credential configuration fails on Turkish-locale hosts.
   **Severity:** medium
   
   Fix: use `Locale.ROOT` for all identifier normalization.
   
   ---
   *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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org