@mdapi-issues/listmetadata-standardvaluesettranslation-type
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

listmetadata-standardvaluesettranslation-type

Minimal working example to demonstrate a bug in listMetadata where the FileProperties for StandardValueSetTranslation have a broken type property

Actions Status

Steps to reproduce the issue

Create a scratch org with the Translation Workbench enabled

sfdx force:org:create -f config/project-scratch-def.json -s

push some translation for a StandardValueSet (here: StandardValueSetTranslation:LeadSource-de)

sfdx force:source:push

list StandardValueSetTranslations using listMetadata

sfdx force:mdapi:listmetadata -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"
  }
]

Package Sidebar

Install

npm i @mdapi-issues/listmetadata-standardvaluesettranslation-type

Weekly Downloads

55

Version

2.0.2

License

MIT

Unpacked Size

4.99 kB

Total Files

5

Last publish

Collaborators

  • amtrack