-
Notifications
You must be signed in to change notification settings - Fork 432
Description
Summary
Detect Conflicts At Sync setting implies it works for any and all metadata file which has a last modified date. This includes LWC bundles. If it does not, it should be specified in the guide.
https://developer.salesforce.com/docs/platform/sfvscode-extensions/guide/detect-conflicts.html
Steps To Reproduce:
- Both DeveloperA and DeveloperB have 'Detect Conflicts At Sync' enabled with Salesforce Extension Pack installed in vscode
- DeveloperA makes a change to LWC file abc.js, abc.css, or abc.html and right click SFDX > Deploy this source to org
- DeveloperB then also makes a change to abc.js, abc.css, or abc.html and right click SFDX > Deploy this source to org
Expected result
DeveloperB is prompted that there is a conflict, and the deploy does not go through, because the last modified date was more recently than the last successful deployment or retrieval
Actual result
DeveloperB is not prompted that there is a conflict, and the deploy overwrites DeveloperA
Versions
Salesforce Extension Version in VS Code: 62.2.0
Salesforce CLI Version: @salesforce/cli/2.4.10 win32-x64 node-v18.15.0
OS and version: Windows 11
VS Code version: 1.94.2
Most recent version of the extensions where this was working: Unknown