Minimal working example to demonstrate a bug in listMetadata where the FileProperties for StandardValueSetTranslation have a broken type property
Create a scratch org with the Translation Workbench enabled
sf org create scratch -f config/project-scratch-def.json --set-default
push some translation for a StandardValueSet (here: StandardValueSetTranslation:LeadSource-de
)
sf project deploy start
list StandardValueSetTranslations using listMetadata
sf org list metadata -m StandardValueSetTranslation
- actual
+ expected
[
{
"createdById": "005P00000063pPzIAI",
"createdByName": "User User",
"createdDate": "1970-01-01T00:00:00.000Z",
"fileName": "standardValueSetTranslations/LeadSource-de.standardValueSetTranslation",
"fullName": "LeadSource-de",
"id": "",
"lastModifiedById": "005P00000063pPzIAI",
"lastModifiedByName": "User User",
"lastModifiedDate": "1970-01-01T00:00:00.000Z",
"namespacePrefix": "",
- "type": { "$": { "xsi:nil": "true" } }
+ "type": "StandardValueSetTranslation"
}
]