Skip to content
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

Retrieve Source from Manifest in Org is not pulling data when * members is set #3197

Closed
jriffe opened this issue Apr 30, 2021 · 9 comments
Closed

Comments

@jriffe
Copy link

jriffe commented Apr 30, 2021

Summary

I create a new project with Manifest in VSCode, but when trying to receive code from the manifest, I receive no error, but no files are retrieved.

Output was:
10:37:06.764 Starting SFDX: Retrieve Source from Org

10:37:07.943 ended SFDX: Retrieve Source from Org

Package.xml file was the default given when project was created.

Steps To Reproduce:

  1. Utilize the SFDX: Create Project with Manifest command, and created from Production (Trailhead Playground)
  2. Utilized SFDX: Authorize an Org. Org Authorized with no issues
  3. Right click on the package.xml file under the Manifest folder
    • Extension acts normally as though it is retrieving the source from the org
    • Nothing is retrieved and no error is given.

Expected result

Files should have been retrieved from Org

Actual result

No files were retrieved

10:37:06.764 Starting SFDX: Retrieve Source from Org

10:37:07.943 ended SFDX: Retrieve Source from Org

Additional information

I was able to pull the files by explicitly setting them in the package.xml. Once I set this, files were pulled into VS Code as expected. It just would not honor the '*' to pull all files of the given type.

VS Code Version:
1.55.2

SFDX CLI Version:
sfdx-cli/7.99.0 win32-x64 node-v15.14.0

OS and version:
Windows 10 Pro
19041.928

@smaddox-sf
Copy link
Contributor

Hi @jriffe - Thanks for reaching out. Couple questions to help us triage this:

  1. Can you confirm the version of the extension pack? You can see this by going to the 'Extensions' view from VS Code code and checking out the version next to the 'Salesforce Extension Pack'. it should be something along the lines of 51.11.0

  2. If you go to VS Code settings and uncheck the 'Deploy Retrieve' option and then retry, do you still hit the issue?

@jriffe
Copy link
Author

jriffe commented May 3, 2021 via email

@xyc
Copy link
Contributor

xyc commented May 4, 2021

Have you tried specifying the package name and retrieve? See https://salesforce.stackexchange.com/a/310902

@no-response
Copy link

no-response bot commented Jun 3, 2021

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.

@no-response no-response bot closed this as completed Jun 3, 2021
@RoadRunner88
Copy link

I am having the same issue.

When I commented out StaticResources it worked!

When I include StaticResources, I get the first Starting message:
18:59:20.788 Starting SFDX: Retrieve Source from Org
*** but then never see the ended message ***
19:01:08.612 ended SFDX: Retrieve Source from Org

Worse yet, the VS Code Output will clear automatically and I am left without any trace that I even ran the command. Argghhhh!!!!

@abhishekmehta04
Copy link

I am having the same issue.

When I commented out StaticResources it worked!

When I include StaticResources, I get the first Starting message: 18:59:20.788 Starting SFDX: Retrieve Source from Org *** but then never see the ended message *** 19:01:08.612 ended SFDX: Retrieve Source from Org

Worse yet, the VS Code Output will clear automatically and I am left without any trace that I even ran the command. Argghhhh!!!!

Thanks! Removing static resource really worked. Weird !

@alex2lv
Copy link

alex2lv commented Aug 25, 2022

I am having the same issue.

When I commented out StaticResources it worked!

When I include StaticResources, I get the first Starting message: 18:59:20.788 Starting SFDX: Retrieve Source from Org *** but then never see the ended message *** 19:01:08.612 ended SFDX: Retrieve Source from Org

Worse yet, the VS Code Output will clear automatically and I am left without any trace that I even ran the command. Argghhhh!!!!

Works for me too. Thanks.

@heybethfrench
Copy link

I'm working on the same super badge, and commenting out static resources didn't work for me, but when I was specific about which LWC I wanted, I was able to pull it down from my dev environment

For example:

<types> <members>boatMap</members> <name>LightningComponentBundle</name> </types>

@anupshastri96
Copy link

@jriffe and @RoadRunner88
Thank you guys, I have been looking for a solution to this for a long time. I thought it was happening because of some update issue. I installed and reinstalled the extensions multiple times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants