-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source enabled Sandbox. Metadata are false reported as conflicted or changed. #1178
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
It might be related to this issue forcedotcom/salesforcedx-vscode#3522 as conflict detection probably detect those conflicts that are created after file is saved to SF. |
@PawelWozniak do these conflicts only happen on a source-tracking sandbox and not on a scratch org? [trying to narrow down how to reproduce this and what code to explore] |
I am not sure as I am not using scratch orgs because we have many managed packages installed. |
I'm closing this, since VSCode was able to fix forcedotcom/salesforcedx-vscode#3542. If it's still reproducible in current CLI/plugins, please open a new issue (preferably with repro steps using only the CLI, to keep the VSCode issues separate). |
Summary
I synchronize sandbox with source control to state that force:source:status says "No result found".
Then edit some classes (VSCode) and save them.
When check the status I am getting conflicting versions.
Steps To Reproduce:
You will get:
You see that the remote has been changed. Why? We have just overwritten the remote version in previous step.
Expected result
Files in SF are saved as they are represented in git repository
Only real conflicts are shown.
Actual result
Conflicts are shown even if the file was saved from VSCode
Just after force pushing code to sandbox code is immediately altered in SF and shown as changed.
Pulling changes don't list files as pulled, files are not changed in the filesystem but status says that they are no longer different from SF.
System Information
Additional information
Feel free to attach a screenshot.
The text was updated successfully, but these errors were encountered: