forcedotcom / Einstein-GPT-for-Developers

Einstein GPT For Developers
BSD 3-Clause "New" or "Revised" License
33 stars 8 forks source link

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

Open gbockus-sf opened 2 months ago

gbockus-sf commented 2 months ago

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

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)

git2gus[bot] commented 2 days ago

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