sfdx force:source:convert
produces invalid Metadata API source when object translations are present
#1383
Labels
bug
Issue or pull request that identifies or fixes a bug
investigating
We're actively investigating this issue
Summary
When recent versions of SFDX execute
force:source:convert
in the presence of object and/or field translations, invalid Metadata API source is produced. The Metadata API source directory includes a spuriousfields
subdirectory which contains only*.fieldTranslation
files.Steps To Reproduce:
[Repository to reproduce: EDA
]
sfdx force:source:convert
.fields
subdirectory.Optionally, update to
[email protected]
, remove the generated directory, and re-run the same command. Observe that thefields
subdirectory is not present.We do not know which version introduced this issue, only that it is after 7.123 and before or equal to 7.130.
Expected result
Valid MDAPI source is generated.
Actual result
Invalid MDAPI source is generated.
System Information
Note that this is an example of one impacted version but is not the only impacted version, and the latest 7.135 exhibits the same behavior.
Additional information
The text was updated successfully, but these errors were encountered: