Einstein-GPT-for-Developers icon indicating copy to clipboard operation
Einstein-GPT-for-Developers copied to clipboard

E4D will appear to have no default org upon reauthentication with the same alias in a single session

Open gbockus-sf opened this issue 1 year ago • 1 comments

Summary

When a users logs out of the default org `SFDX: Log Out of Default Org', then authorizes the same org using the same alias (without refreshing the window or opening a new VS Code window) E4D will not be able to recognize that E4D is available for the org

Steps To Reproduce:

  1. Have an authorized org with the alias vscodeOrg
  2. Execute the command SFDX: Log Out of Default Org
  3. Execute the command SFDX: Authorize an Org
  4. Log into the same org that you logged out of previously, using the same alias vscodeOrg
  5. See that E4D will not enabled (yellow status bar icon)

Expected result

Should be able to log in/out at will.

Actual result

E4D is disabled for Org.

Workaround

  • Reload VSCode and the org will be valid for E4D
  • Command: Developer: Reload Window

Salesforce Extension Version in VS Code: 61.5.0

Salesforce Einstein For Developers Version in VS Code: 0.53.0

OS and version: All

VS Code version: 1.91.1 (all supported version)

gbockus-sf avatar Jul 19 '24 16:07 gbockus-sf

This issue has been linked to a new work item: W-16761128

git2gus[bot] avatar Sep 16 '24 19:09 git2gus[bot]