Repository navigation
Description
Summary
We can’t retrieve the specified metadata object: PicklistValue. Certain metadata types, like PicklistValue1 are not currently supported by the CLI.
File a bug here: https://github.com/forcedotcom/cli/issues and provide the name of the unsupported metadata type
We can’t retrieve the specified metadata object: PicklistValue. Certain metadata types, like PicklistValue2 are not currently supported by the CLI.
File a bug here: https://github.com/forcedotcom/cli/issues and provide the name of the unsupported metadata type
Steps To Reproduce:
Repository to reproduce: dreamhouse-lwc
Update picklist values , try to perform sfdx force:source:pull
NOTE: If your issue is not reproducable by dreamhouse-lwc, i.e. requires specific metadata or files, we require a link to a simple Salesforce project repository with a script to setup a scratch org that reproduces your problem.
- This is step 1.
- This is step 2. All steps should start with '1.'
Expected result
Expect picklist values to be pulled
Actual result
Some error saying picklist values are not supported
System Information
{
"cliVersion": "sfdx-cli/7.123.0",
"architecture": "darwin-x64",
"nodeVersion": "node-v14.18.1",
"pluginVersions": [
"@oclif/plugin-autocomplete 0.3.0 (core)",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.2.3 (core)",
"@oclif/plugin-not-found 1.2.4 (core)",
"@oclif/plugin-plugins 1.10.1 (core)",
"@oclif/plugin-update 1.5.0 (core)",
"@oclif/plugin-warn-if-update-available 1.7.0 (core)",
"@oclif/plugin-which 1.0.3 (core)",
"@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)",
"alias 1.1.22 (core)",
"apex 0.3.0 (core)",
"auth 1.7.3 (core)",
"config 1.2.41 (core)",
"custom-metadata 1.0.12 (core)",
"data 0.6.3 (core)",
"evergreen 0.34.0",
"└─ evergreen-build 0.20.2",
"generator 1.2.0 (core)",
"limits 1.2.2 (core)",
"org 1.8.3 (core)",
"salesforce-alm 53.0.0 (core)",
"schema 1.0.10 (core)",
"sfdx-cli 7.123.0 (core)",
"shane-sfdx-plugins 4.43.0",
"├─ @mshanemc/plugin-streaming 1.1.7",
"└─ @mshanemc/sfdx-sosl 1.1.0",
"source 1.2.4 (core)",
"telemetry 1.2.8 (core)",
"templates 52.4.0 (core)",
"trust 1.0.8 (core)",
"user 1.5.2 (core)"
],
"osVersion": "Darwin 20.5.0"
}
- If you are using
sfdx- Run
sfdx version --verbose --json
- Run
- If you are using
sf- Run
sf versionANDsf plugins --core
- Run
- Paste the output here
Additional information
Feel free to attach a screenshot.
Activity
github-actions commentedon Nov 2, 2021
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support.
WillieRuemmele commentedon Nov 2, 2021
The
PickListmetadata is actually stored as a StandardValueSet. Usingdreamhouse-lwcI was able toforce:source:pullthat metadata typecould you please provide more detailed steps to reproduce it, or you can try using the
source:beta:*commands available in7.125.0bdovh commentedon Nov 3, 2021
I think the issue reproduces when you create picklist first, then you pull, then you add more picklist values or activate picklist values from the list and pull again. The second pull fails
WillieRuemmele commentedon Nov 3, 2021
could you try using the new
source:beta:pullcommand? This bug might already be fixed in there, and if it isn't we'll fix it in there.bdovh commentedon Nov 4, 2021
Interesting idea, is that available in my sfdx?
bdovh commentedon Nov 4, 2021
Warning: source:beta:pull is not a sfdx command.
WillieRuemmele commentedon Nov 4, 2021
sorry @bdovh - it's available in
latest-rc: 7.125.0it will be available in7.125.0aslatestlater todayno-response commentedon Nov 15, 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.
bdovh commentedon Nov 15, 2021
why this issue is closed?
mshanemc commentedon Dec 3, 2021
this works in the new
beta:pull.. There was a bug pulling CustomFields that's now solved in 7.130.1 (currently RC)mshanemc commentedon Apr 1, 2022
closed with new commands GA