npm

@mdapi-issues/listmetadata-standardvaluesettranslation-type

3.0.0 • 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

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"
  }
]

Package Sidebar

Install

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

Weekly Downloads

261

Version

3.0.0

License

MIT

Unpacked Size

4.79 kB

Total Files

5

Last publish

Collaborators

  • amtrack