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

force:source:pull isn't retrieving custom labels #600

Closed
ilanbalink opened this issue Sep 7, 2020 · 12 comments
Closed

force:source:pull isn't retrieving custom labels #600

ilanbalink opened this issue Sep 7, 2020 · 12 comments

Comments

@ilanbalink
Copy link

Summary

pull isn't retrieving new labels or updated changed

Steps To Reproduce:

  1. in a scratch org, create a new label
  2. do sfdx force:source:pull

Expected result

the new added label should be retrieved in the labels\Custom_Labels file

Actual result

Nothing was retrieved
Describe what actually happened instead.
Nothing was retrieved

Additional information

Feel free to attach a screenshot.

SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
sfdx-cli/7.73.2-feef087df8 win32-x64 node-v12.18.3

SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
@oclif/plugin-autocomplete 0.1.5 (core)
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-help 3.2.0 (core)
@oclif/plugin-not-found 1.2.4 (core)
@oclif/plugin-plugins 1.9.0 (core)
@oclif/plugin-update 1.3.10 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.4.2 (core)
alias 1.1.1 (core)
analytics 1.12.1 (core)
config 1.1.8 (core)
generator 1.1.3 (core)
salesforcedx 49.9.2
├─ templates 49.4.4
├─ @salesforce/sfdx-plugin-lwc-test 0.1.7
├─ apex 0.0.9
├─ salesforce-alm 49.10.0
└─ custom-metadata 1.0.8
sfdx-cli 7.73.2 (core)

OS and version:
WINDOWS 10

@ilanbalink
Copy link
Author

Annotation 2020-09-08 082733

@jflowers45
Copy link

I am having this issue as well.

@mcsollinger
Copy link

I am having this issue as well. MacOS, CLI version 7.74.1

@ricofairsailcom
Copy link

same in sfdx-cli/7.75.1 for windows

@JulienGaiotto
Copy link

Are yall sure that "Protected Component" on your labels is unchecked ?
It seems that checkbox is true by default.

I had the same issue, went to my label, clicked edit, unchecked the "Protected Component" checkbox, and managed to pull my label in my project folder.

Hope that helps.

@ricofairsailcom
Copy link

Hi @jgaiotto,
My 435 custom labels have the Protected Component checked, it was working fine until now.

@sumugapadman
Copy link

sumugapadman commented Oct 23, 2020

+1

I have the same issue. Even after unchecking the "Protected Component" sfdx force:source:pull did not yield results .
And the package.xml did not work as well. sfdx force:source:retrieve -x manifest/package.xml
Had to manually retrieve it and add it to my custom labels file.

@shetzel
Copy link
Contributor

shetzel commented Oct 23, 2020

I added a fix for pulling custom labels in the current release candidate. Can you try installing that to see if it unblocks you?
sfdx plugins:install salesforcedx@latest-rc

Related to #673

@clairebianchi
Copy link
Collaborator

This is fixed

@raviduttsharma
Copy link

Does not seem to be fixed. I am on sfdx-cli/7.82.0-3d0c527ac6 darwin-x64 node-v12.18.3, and still facing this issue.

@ayan-sarkar-cse
Copy link

Try using SFDX retrieve command
sfdx force:source:retrieve -p force-app/main/default/labels

@shetzel
Copy link
Contributor

shetzel commented Jan 13, 2021

@raviduttsharma - make sure your plugins are on the core versions. sfdx plugins --core should output (core) next to the salesforcedx version. If it doesn't, run sfdx plugins:uninstall salesforcedx to get back on the core version.

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

No branches or pull requests

10 participants