Closed ChuckJonas closed 2 years ago
I and my coworkers have been running into this same issue.
sfdx-cli/7.33.2 darwin-x64 node-v9.5.0
@oclif/plugin-commands 1.2.3 (core) @oclif/plugin-help 2.2.1 (core) @oclif/plugin-not-found 1.2.3 (core) @oclif/plugin-plugins 1.7.8 (core) @oclif/plugin-update 1.3.9 (core) @oclif/plugin-warn-if-update-available 1.7.0 (core) @oclif/plugin-which 1.0.3 (core) @salesforce/sfdx-trust 3.0.7 (core) analytics 1.2.2 (core) generator 1.1.2 (core) salesforcedx 47.6.2 (core) ├─ salesforce-alm 47.9.0 (core) └─ salesforcedx-templates 47.6.2 (core)
OSX 10.14.6 (18G1012)
@Pflaumen we've created a work around for this in https://github.com/ChuckJonas/force-source-clean
(although make sure you understand the "clean" behavior before running it)
This issue has been linked to a new work item: W-9299116
Summary
force:source:retrieve
will pull down static resources, but it does not update them.Steps To Reproduce:
broken.txt
with the text:Hello World
sfdx force:source:retrieve -x manifest/package.xml
broken.txt
was retrieved and containsHello World
broken.txt
via salesforce.com (not via local compile), that readsgoodbye world
sfdx force:source:retrieve -x manifest/package.xml
Expected result
The local copy of
broken.txt
should be updated to readgoodbye world
Actual result
The local copy of
broken.txt
still readshello world
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
sfdx-cli/7.25.3-16d54c01ee darwin-x64 node-v10.15.3
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
sfdx-cli 7.25.3 (core)
OS and version: OSX 10.14.5