Skip to content

Issue with sfdx-cli mdapi:convert command in latest sfdx-cli version.

Notifications You must be signed in to change notification settings

camerongoodman/sfdx-cli-mdapi-convert-bug

Repository files navigation

SFDX-CLI Bug with sfdx:mdapi:convert command

This repo is to demonstrate a bug with the sfdx force:mdapi:convert command not converting CustomLabels.

Tested and recreated in the following

Windows 10/11

  • sfdx-cli/7.151.1 win32-x64 node-v14.19.1

Ubuntu 20.04

  • sfdx-cli/7.151.1 linux-x64 node-v14.19.2

Issue: sfdx force:mdapi:convert does not convert CustomLabels to source format.

Steps:

  • convert original source to mdapi format sfdx force:source:convert -r force-app -d mdapi
  • observe CustomLabels in mdapi folder and package.xml
  • convert MDAPI back to SOURCE format sfdx force:mdapi:convert -r mdapi -d src
  • observe NOTHING was converted, \src folder is empty
  • Use legacy mdapi:convert sfdx force:mdapi:legacy:convert -r mdapi -d src2
  • Observe legacy convert works as expected in \src2 folder

About

Issue with sfdx-cli mdapi:convert command in latest sfdx-cli version.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published