Source Mobility fails when multiple All.listView-meta.xml
source files are moved at the same time
#2945
Labels
bug
Issue or pull request that identifies or fixes a bug
doctor
Issue was created using the 'doctor' command
investigating
We're actively investigating this issue
validated
Version information for this issue has been validated
Summary
Source Mobility is not properly detecting that moving multiple objects between package directories is not a source change when
All.listView-meta.xml
source files are part of the collection of files being moved.from one Package Directory to another as part of a exhibits unexpected behavior when Source Mobility is enabled (i.e.
SF_BETA_TRACK_FILE_MOVES=true
)Steps To Reproduce
SF_BETA_TRACK_FILE_MOVES
env var is set totrue
packageDirectories
defineddefaultPackageDir
otherPackageDir
ObjectOne__c
ObjectTwo__c
sf project retrieve start
defaultPackageDir/main/default/objects
each has alistViews/All.listView-meta.xml
source filedefaultPackageDir/main/default/objects
tootherPackageDir/main/objects
sf project deploy preview
Expected result
Actual result
Additional information
sf project deploy preview
sf deploy start preview
again).System Information
Diagnostics
✅ pass - salesforcedx plugin isn’t installed
✅ pass - you don't have any linked plugins
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.yarnpkg.com
✅ pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org/
✅ pass - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion
✅ pass - [@salesforce/plugin-deploy-retrieve] default target DevHub max apiVersion matches default target org max apiVersion
❌ warn - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches default target org max apiVersion
✅ pass - can access: https://appexchange.salesforce.com/services/data
✅ pass - can access: https://test.salesforce.com
✅ pass - can access: https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-win32-x64-buildmanifest
❌ fail - [@salesforce/plugin-auth] CLI supports v2 crypto
✅ pass - using latest or latest-rc CLI version
The text was updated successfully, but these errors were encountered: