cli
cli copied to clipboard
REGRESSION: Release candidate (7.164.1) no longer supports mixed-case admin usernames (*nix only)
Summary
Starting in Thursday's CLI release candidate (7.164.1), it is no longer possible to specify usernames with mixed capitalization on unix flavors (Windows seems to be unaffected).
For example, prior to 7.164.1, you could specify "[email protected]" as a username. In 7.164.1, you will get: "No authorization information found for (username)"
Notice that in most cases, the CLI downcases the username (i.e. if you do force:org:list, the org is in there with its username lowercased). It looks like some part of the new org creation plugin still preserves the case of the username and that causes problems when trying to retrieve auth info for the org.
ALIAS USERNAME ORG ID EXPIRATION DATE
─── ───── ───────────────────────── ────────────────── ───────────────
[email protected] 00D7A000000A7ByUAK 2022-08-22
(U) [email protected] 00D63000000lpchEAA 2022-08-22
Steps To Reproduce:
-
sfdx force:project:create -n sample
-
cd sample
-
sfdx force:org:create [email protected] --setdefaultusername -f config/project-scratch-def.json
Expected result
(From 7.163.0)
esposito@PT-WIN-ESPOSITO:~/sample$ sfdx force:org:create [email protected] --setdefaultusername -f config/project-scratch-def.json
Successfully created scratch org: 00D63000000lpchEAA, username: [email protected]
Actual result
(From 7.164.1)
esposito@PT-WIN-ESPOSITO:~/sample$ sfdx force:org:create [email protected] --setdefaultusername -f config/project-scratch-def.json
ERROR running force:org:create: No authorization information found for [email protected].
System Information
esposito@PT-WIN-ESPOSITO:~/sample$ sfdx version --verbose
CLI Version:
sfdx-cli/7.164.1
Architecture:
wsl-x64
Node Version:
node-v16.16.0
Plugin Version:
@oclif/plugin-autocomplete 1.3.0 (core)
@oclif/plugin-commands 2.2.0 (core)
@oclif/plugin-help 5.1.12 (core)
@oclif/plugin-not-found 2.3.1 (core)
@oclif/plugin-plugins 2.1.0 (core)
@oclif/plugin-update 3.0.0 (core)
@oclif/plugin-version 1.1.1 (core)
@oclif/plugin-warn-if-update-available 2.0.4 (core)
@oclif/plugin-which 2.1.0 (core)
alias 2.1.0 (core)
apex 1.1.0 (core)
auth 2.2.3 (core)
community 2.0.0 (core)
config 1.4.17 (core)
custom-metadata 2.0.0 (core)
data 2.1.2 (core)
generator 2.0.2 (core)
info 2.0.1 (core)
limits 2.0.1 (core)
org 2.1.7 (core)
schema 2.1.1 (core)
signups 1.2.0 (core)
source 2.0.11 (core)
telemetry 2.0.0 (core)
templates 55.1.0 (core)
trust 2.0.3 (core)
user 2.1.0 (core)
@salesforce/sfdx-plugin-lwc-test 1.0.0 (core)
salesforce-alm 54.8.1 (core)
OS and Version:
Linux 5.10.16.3-microsoft-standard-WSL2
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.
This issue has been linked to a new work item: W-11598550