-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SFDX: Refresh SObject Definitions fails with "Cannot read property 'forEach' of undefined" on newest plugin version #3056
Comments
This issue has been linked to a new work item: W-9007196 |
Hi @jardorr thanks for opening this issue. I haven't been able to replicate this on any of my orgs but I created a tests that could replicate the error on the area I think it might be happening for you. I'm thinking the problem is that the describe calls the feature does against your org are returning no results, can you confirm if you have access to sobjects in the org you are using ? |
Hi @lcampos. |
@jardorr I wasn't able to reproduce this. We've made a number of enhancements to the Org Browser, so I suspect this issue was fixed and doesn't exist anymore. If you are still able to reproduce this, please let us know, and let us know the repro steps you are performing. |
This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance. |
Summary
Everytime the SFDX: Refresh SObject Definitions command is run, it fails with the message "ended with error Failure performing sObject describe Cannot read property 'forEach' of undefined".
This has been testet on multiple devices, and is happening on all refresh types (All, Custom and Standard SObjects).
Steps To Reproduce:
Expected result
Expected SObject definitions to be fetched
Actual result
The command fails with error "ended with error Failure performing sObject describe Cannot read property 'forEach' of undefined"
Additional information
Salesforce CLI console output
VSCode console output
VS Code Version: 1.54.1
SFDX CLI Version: 7.90.2-b8f9206a5c
SFDX CLI Integration Plugin Version: v51.4.0
OS and version: Windows 10 20H2
The text was updated successfully, but these errors were encountered: